Joined
Last Seen
-2 Reputation Points
- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
0% Quality Score
- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
0 Endorsements
Ranked #107.41K
it is not complete.........u may need to do some modifications Regards, Bhanu[code]#include<stdio.h> #include<pthread.h> #include<signal.h> struct lift { int status; int movement; }l[8]; struct floorno { int curfloor; int destfloor; }f[8]; int i; void main() { int ch; int j; for (j=0;j<8;j++) { l[j].status=0; l[j].movement=0; } pthread_t lift[8]; j=0; while(1) { … |