You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to asu-cse-430
Would you like for our program to sleep between context switches so
you can see what's going on or just let it run at computer speed?
thanks
Joshua Claxton
unread,
Mar 2, 2012, 5:54:48 AM3/2/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to asu-cse-430
I think i may have answered my own question.
I had previously put the sleep() functionality inside run and yield in
threads.h (which would defeat purpose of threading), but I changed it
so that the sleep was in each infinite looping function in
thread_test.c (which is used for creating a testing environment.)