ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/Coro/Coro/SemaphoreSet.pm
(Generate patch)

Comparing Coro/Coro/SemaphoreSet.pm (file contents):
Revision 1.44 by root, Wed Feb 1 23:59:41 2006 UTC vs.
Revision 1.45 by root, Fri Dec 1 02:17:37 2006 UTC

67 --$sem->[0]; 67 --$sem->[0];
68 return 1; 68 return 1;
69 } 69 }
70 70
71 push @{$sem->[1]}, $Coro::current; 71 push @{$sem->[1]}, $Coro::current;
72 Coro::schedule; 72 &Coro::schedule;
73 } 73 }
74} 74}
75 75
76sub timed_down { 76sub timed_down {
77 require Coro::Timer; 77 require Coro::Timer;
95 } 95 }
96 die; 96 die;
97 } 97 }
98 98
99 push @{$sem->[1]}, $Coro::current; 99 push @{$sem->[1]}, $Coro::current;
100 Coro::schedule; 100 &Coro::schedule;
101 } 101 }
102} 102}
103 103
104=item $sem->up ($id) 104=item $sem->up ($id)
105 105

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines