10 static void a(void *obj)
13 for(i = 0; i < 2; i++) {
16 //load_32(&shareddata);
20 //store_32(&shareddata,(unsigned int)i);
26 int user_main(int argc, char **argv)
30 initTicketLock(&mylock);
32 thrd_create(&t1, (thrd_start_t)&a, NULL);
33 thrd_create(&t2, (thrd_start_t)&a, NULL);