12 Sep
2007
12 Sep
'07
4:43 a.m.
hi,dear all: I have a question about l4_ipc_sleep()! I want to make a stop between two ipc operation, so i used l4_ipc_sleep(), but it did not work! The code is : ... static void sleep(unsigned exp) { l4_ipc_sleep(l4_ipc_timeout(1,exp,1,exp)); } ... int main(int argc, char **argv) { ... for(;;) { ... sleep(4); } return 0; } I think sleep(4) should make a stop about 4 seconds, but the the call returned immediately. What's the problem in my code? thanks for your help! best wishes! huang learnl4@sina.com 2007-09-12