Skip to content
This repository has been archived by the owner on Dec 16, 2019. It is now read-only.

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
krakjoe committed Mar 25, 2013
1 parent 7ac0397 commit f313de1
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions examples/SelectiveInheritance.php
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
<?php
/*
* In a large application, the overhead of each thread having to copy the entire context
* may become undesireable.
* This is for advanced users ONLY !!
*
* In a large application, the overhead of each thread having to copy the entire context may become undesireable.
* Selective Inheritance serves as a way to choose which parts of the environment are available in threading contexts
* Following is some code that demonstrates the use of this feature
*
* Note: if a member of a pthreads object, is an object itself of a user defined type, and the class table is not inherited
* you are asking for trouble !!
* Note: the included_files table is only populated where PTHREADS_INHERIT_INCLUDES is set
*/

class my_class {}
Expand Down

0 comments on commit f313de1

Please sign in to comment.