Skip to content
Snippets Groups Projects
Commit 2b871bbc authored by Per Hedbor's avatar Per Hedbor
Browse files

pattr and small_pattr are used in th_create and th_create_small, which can be used in modules.

parent 0ce2f70a
Branches
Tags
No related merge requests found
......@@ -190,8 +190,8 @@ void th_atfork_child(void);
/* Some pthread libs define yield as non-portable function. */
#define low_th_yield() pthread_yield_np()
#endif
extern pthread_attr_t pattr;
extern pthread_attr_t small_pattr;
PMOD_EPXORT extern pthread_attr_t pattr;
PMOD_EPXORT extern pthread_attr_t small_pattr;
#define th_create(ID,fun,arg) pthread_create(ID,&pattr,fun,arg)
#define th_create_small(ID,fun,arg) pthread_create(ID,&small_pattr,fun,arg)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment