New: chopstx_main_init

This commit is contained in:
NIIBE Yutaka
2015-04-18 12:19:43 +09:00
parent 2fb7fb6826
commit a0f33c1036
3 changed files with 35 additions and 5 deletions

View File

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