libthread: simplify
Now that everything uses pthreads and pthreadperthread, can delete various conditionals, all the custom context code, and so on. Also update documents. Fixes #355.
This commit is contained in:
parent
e68f07d46f
commit
1857120806
23 changed files with 16 additions and 1481 deletions
|
|
@ -473,10 +473,8 @@ extern _Thread *(*threadnow)(void);
|
|||
typedef struct Lock Lock;
|
||||
struct Lock
|
||||
{
|
||||
#ifdef PLAN9PORT_USING_PTHREADS
|
||||
int init;
|
||||
pthread_mutex_t mutex;
|
||||
#endif
|
||||
int held;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue