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
..
2014-07-28 17:05:06 +02:00
2014-03-01 09:05:00 +01:00
2011-12-11 22:45:46 +01:00
2013-02-26 09:44:20 +00:00
2014-03-03 20:47:03 +01:00
2014-03-01 09:05:00 +01:00
2014-03-03 20:47:06 +01:00
2013-04-19 16:21:48 +00:00
2013-04-17 22:00:59 +00:00
2014-07-28 17:05:06 +02:00
2012-06-25 14:13:07 +02:00
2014-03-03 20:47:03 +01:00
2012-03-25 16:17:10 +02:00
2012-03-25 16:17:10 +02:00
2012-03-25 16:17:10 +02:00
2013-04-17 22:00:59 +00:00
2013-04-17 22:00:59 +00:00
2014-03-03 20:47:06 +01:00
2013-04-17 22:00:59 +00:00
2013-04-17 22:00:59 +00:00
2014-03-03 20:47:02 +01:00
2014-03-01 09:04:51 +01:00
2011-11-28 10:03:43 +00:00
2011-11-28 10:03:43 +00:00
2013-02-28 10:08:54 +00:00
2013-02-28 10:08:54 +00:00
2013-02-28 10:08:54 +00:00
2013-02-28 10:08:54 +00:00
2013-04-17 22:00:59 +00:00
2014-02-18 11:25:01 +01:00
2014-03-02 12:28:31 +01:00
2014-03-02 12:28:31 +01:00
2014-03-02 12:28:31 +01:00
2013-04-17 22:00:59 +00:00
2013-04-17 22:00:59 +00:00
2013-04-17 22:00:59 +00:00
2013-04-17 22:00:59 +00:00
2013-04-17 22:00:59 +00:00
2013-04-17 22:00:59 +00:00
2013-04-17 22:00:59 +00:00
2013-04-17 22:00:59 +00:00
2013-04-17 22:00:59 +00:00
2013-04-17 22:00:59 +00:00
2013-04-17 22:00:59 +00:00
2013-04-17 22:00:59 +00:00
2013-04-17 22:00:59 +00:00
2013-04-17 22:00:59 +00:00
2013-04-17 22:00:59 +00:00
2013-04-17 22:00:59 +00:00
2013-04-17 22:00:59 +00:00
2013-04-17 22:00:59 +00:00
2014-01-13 22:22:25 -05:00
2013-04-17 22:00:59 +00:00
2013-04-17 22:00:59 +00:00
2013-04-17 22:00:59 +00:00
2013-04-17 22:00:59 +00:00
2013-04-17 22:00:59 +00:00
2013-04-17 22:00:59 +00:00
2013-04-17 22:00:59 +00:00
2013-04-17 22:00:59 +00:00
2013-04-17 22:00:59 +00:00
2013-04-17 22:00:59 +00:00
2013-04-17 22:00:59 +00:00
2013-04-17 22:00:59 +00:00
2014-03-02 12:28:31 +01:00
2013-04-17 22:00:59 +00:00
2013-04-17 22:00:59 +00:00
2014-03-03 20:47:06 +01:00
2014-03-03 20:47:06 +01:00
2014-03-03 20:47:06 +01:00
2013-04-17 22:00:59 +00:00
2014-03-03 20:47:03 +01:00
2013-04-17 22:00:59 +00:00
2013-04-17 22:00:59 +00:00
2013-04-17 22:00:59 +00:00
2014-03-03 20:47:07 +01:00
2014-07-28 17:05:06 +02:00
2013-04-17 22:00:59 +00:00
2013-04-17 22:00:59 +00:00
2014-03-03 20:47:03 +01:00
2013-04-17 22:00:59 +00:00
2014-03-02 12:28:32 +01:00
2013-09-27 15:15:37 +02:00
2014-02-18 11:25:02 +01:00
2014-03-03 20:47:03 +01:00
2013-04-17 22:00:59 +00:00
2014-03-03 20:47:06 +01:00
2014-07-28 17:05:08 +02:00
2013-04-17 22:00:59 +00:00
2014-03-03 20:47:06 +01:00
2013-04-17 22:00:59 +00:00
2013-04-17 22:00:59 +00:00
2014-03-03 20:47:03 +01:00
2014-03-02 12:28:32 +01:00
2013-04-17 22:00:59 +00:00
2013-02-20 12:29:37 +00:00
2014-03-03 20:47:06 +01:00
2014-03-03 20:47:06 +01:00
2013-04-17 22:00:59 +00:00
2013-09-16 15:33:44 +00:00
2013-05-31 15:42:01 +00:00
2014-03-03 20:37:27 +01:00
2013-04-19 16:21:48 +00:00
2014-03-03 20:47:03 +01:00
2013-10-14 13:20:44 +02:00
2014-03-03 20:47:06 +01:00
2014-03-03 20:47:06 +01:00
2014-03-01 09:04:59 +01:00
2014-03-01 09:04:59 +01:00
2013-05-31 15:42:01 +00:00
2014-07-28 17:05:06 +02:00
2011-12-21 23:44:13 +01:00
2013-11-28 13:31:37 +00:00
2014-03-01 09:05:01 +01:00
2013-08-25 18:51:35 +02:00
2014-07-28 17:05:06 +02:00
2014-03-03 20:47:03 +01:00
2014-03-01 09:04:53 +01:00
2013-04-19 16:21:48 +00:00
2014-03-01 09:04:54 +01:00
2014-03-03 20:47:03 +01:00