mirror of
https://gitee.com/zlgopen/awtk.git
synced 2024-11-29 18:48:09 +08:00
fix tests
This commit is contained in:
parent
f98425da83
commit
18c902cc9d
@ -12,8 +12,8 @@ static void* thread_entry(void* args) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
TEST(Semaphore, basic) {
|
||||
tk_mutex_t* mutex = tk_mutex_create(0, "hello");
|
||||
TEST(Mutex, basic) {
|
||||
tk_mutex_t* mutex = tk_mutex_create();
|
||||
tk_thread_t* thread = tk_thread_create(thread_entry, mutex);
|
||||
|
||||
tk_thread_start(thread);
|
||||
|
Loading…
Reference in New Issue
Block a user