Change API of chopstx_setpriority

This commit is contained in:
NIIBE Yutaka
2016-07-01 09:51:32 +09:00
parent c7e571eca0
commit f5880ee5d5
4 changed files with 35 additions and 16 deletions

View File

@@ -113,7 +113,7 @@ typedef struct chx_cleanup {
void chopstx_cleanup_push (chopstx_cleanup_t *clp);
void chopstx_cleanup_pop (int execute);
void chopstx_setpriority (chopstx_prio_t);
chopstx_prio_t chopstx_setpriority (chopstx_prio_t);
enum {
CHOPSTX_POLL_COND = 0,