kern: move tsemaquire to userspace (given a generalized awake)

This commit is contained in:
2017-05-12 11:01:30 +02:00
parent 46664994d4
commit 79f8204766
7 changed files with 42 additions and 26 deletions

View File

@ -378,6 +378,8 @@ struct Lock {
int32_t sem;
} Lock;
extern int jehanne_tsemacquire(int* addr, long ms);
extern int jehanne__tas(int*);
extern void jehanne_lock(Lock*);