minix/servers
Lionel Sambuc d3d33afe9f Experimental pthread compatibility library
This patch adds pthread compatibility by using libmthread.

To use this with a program using pthreads, you have to replace
  #include <pthread>
with
  #define _MTHREADIFY_PTHREADS
  #include <minix/mthreads>

This also changes the initialization function to be a constructor, which
is implicitly called before the call to main. This allows for
conformance with pthreads, while not paying a high price by checking on
each mthread_* call whether the library has been initialized or not.

As mthread_init is now a constructor, it also has been set as static, and
relevent calls removed from programs using it.

Change-Id: I2aa375db557958d2bee9a70d285aabb990c88f00
2014-07-28 17:05:08 +02:00
..
devman Adding ipc_ prefix to ipc primitives 2014-03-01 09:05:01 +01:00
ds Adding ipc_ prefix to ipc primitives 2014-03-01 09:05:01 +01:00
ext2 Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00
hgfs Create SFFS library out of HGFS 2012-04-09 18:08:26 +02:00
inet <sys/ioccom.h>, <sys/ioctl.h> 2014-03-03 20:47:06 +01:00
input Adding ipc_ prefix to ipc primitives 2014-03-01 09:05:01 +01:00
ipc Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00
is use netbsd <sys/signal.h> and sigset_t 2014-03-02 12:28:31 +01:00
iso9660fs Replaced common u64.h functions with operators. 2014-03-02 12:28:32 +01:00
lwip <sys/ioccom.h>, <sys/ioctl.h> 2014-03-03 20:47:06 +01:00
mfs Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00
pfs Aligning dev_t to 64bits. 2014-03-02 12:28:32 +01:00
pm Changing the message union to anonymous. 2014-03-03 20:46:47 +01:00
procfs Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00
rs drop the minix_ prefixes for mmap and munmap 2014-03-03 20:47:03 +01:00
sched Changing the message union to anonymous. 2014-03-03 20:46:47 +01:00
vbfs Add VBFS: VirtualBox Shared Folder File System 2012-04-11 00:27:48 +02:00
vfs Experimental pthread compatibility library 2014-07-28 17:05:08 +02:00
vm Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00
Makefile big <utmp.h>-inspired netbsd switch 2014-03-01 09:05:02 +01:00
Makefile.inc Removing obsolete _MINIX define 2013-02-26 09:44:20 +00:00