mirror of
https://github.com/tezc/sc.git
synced 2025-01-14 06:43:04 +08:00
16 lines
193 B
C
16 lines
193 B
C
#include "sc_mutex.h"
|
|
|
|
int main()
|
|
{
|
|
struct sc_mutex mutex;
|
|
|
|
sc_mutex_init(&mutex);
|
|
|
|
sc_mutex_lock(&mutex);
|
|
sc_mutex_unlock(&mutex);
|
|
|
|
sc_mutex_term(&mutex);
|
|
|
|
return 0;
|
|
}
|