add chopstx_main

This commit is contained in:
NIIBE Yutaka
2013-06-19 10:05:32 +09:00
parent b656357563
commit 058ba0f939
3 changed files with 9 additions and 0 deletions

View File

@@ -29,6 +29,8 @@
typedef uint32_t chopstx_t;
typedef uint8_t chopstx_prio_t;
extern chopstx_t chopstx_main;
/* NOTE: This signature is different to PTHREAD's one. */
chopstx_t
chopstx_create (uint32_t flags_and_prio,