02-22-2008
Help I can not Post a Thread
I can not Post a Thread.
9 More Discussions You Might Find Interesting
1. Post Here to Contact Site Administrators and Moderators
I am not getting post new thread button when i was logged in.
tell me how to do this.
i want to print data between two lines in a file into another file. which command should i use in UNIX (0 Replies)
Discussion started by: kamesh83
0 Replies
2. Forum Support Area for Unregistered Users & Account Problems
hi,
Pls help me .. i cannot able to post the threads (1 Reply)
Discussion started by: am_73798
1 Replies
3. Forum Support Area for Unregistered Users & Account Problems
hi,,
sorry, couldnt navigate myself to post a new thread, pls guide if possible
Thanks
santhosh (1 Reply)
Discussion started by: santy_33
1 Replies
4. Post Here to Contact Site Administrators and Moderators
Can you tell me how to post a new thread?
Please help me ASAP.
Thanks,
Dipakg (2 Replies)
Discussion started by: dipakg
2 Replies
5. Post Here to Contact Site Administrators and Moderators
Im new to this forum. can you guide me how to post a new thread.
Thanks in advance
Hari (3 Replies)
Discussion started by: Hari123
3 Replies
6. Post Here to Contact Site Administrators and Moderators
Hi, I've tried 3 times to post a new thread and for whatever reason it's not happening, hope you can help
Thanks (11 Replies)
Discussion started by: saddlerken
11 Replies
7. Post Here to Contact Site Administrators and Moderators
Hi scoot
Hope you are doing well!!
I didn't post any new thread, is their any problem in my access
could you please check it and let me know.
Previously posted threads was one of my interview question and i didn't understand how to solve , i am a new for shell script, i didn't find any help... (2 Replies)
Discussion started by: ksakil
2 Replies
8. Forum Support Area for Unregistered Users & Account Problems
Dear Moderator
I am not able to post any new thread or post reply to mine old thread.
Kindly help as i am stuck on one problem and needed suggestion.
Regards
Jaydeep (1 Reply)
Discussion started by: jaydeep_sadaria
1 Replies
9. Post Here to Contact Site Administrators and Moderators
Just joined and registered 15 minutes ago.
Can't figure out how to post a new question about 'grep'
I searched and found that I need to click the 'New Thread' button, I couldn't see any 'New Thread' buttons anywhere, so I searched around and ended up here where I DO see a 'new thread' button....... (3 Replies)
Discussion started by: TuftyDave
3 Replies
LEARN ABOUT REDHAT
thread::semaphore
Thread::Semaphore(3pm) Perl Programmers Reference Guide Thread::Semaphore(3pm)
NAME
Thread::Semaphore - thread-safe semaphores
SYNOPSIS
use Thread::Semaphore;
my $s = new Thread::Semaphore;
$s->up; # Also known as the semaphore V -operation.
# The guarded section is here
$s->down; # Also known as the semaphore P -operation.
# The default semaphore value is 1.
my $s = new Thread::Semaphore($initial_value);
$s->up($up_value);
$s->down($up_value);
DESCRIPTION
Semaphores provide a mechanism to regulate access to resources. Semaphores, unlike locks, aren't tied to particular scalars, and so may be
used to control access to anything you care to use them for.
Semaphores don't limit their values to zero or one, so they can be used to control access to some resource that there may be more than one
of. (For example, filehandles). Increment and decrement amounts aren't fixed at one either, so threads can reserve or return multiple
resources at once.
FUNCTIONS AND METHODS
new
new NUMBER
"new" creates a new semaphore, and initializes its count to the passed number. If no number is passed, the semaphore's count is set
to one.
down
down NUMBER
The "down" method decreases the semaphore's count by the specified number, or by one if no number has been specified. If the sema-
phore's count would drop below zero, this method will block until such time that the semaphore's count is equal to or larger than
the amount you're "down"ing the semaphore's count by.
up
up NUMBER
The "up" method increases the semaphore's count by the number specified, or by one if no number has been specified. This will
unblock any thread blocked trying to "down" the semaphore if the "up" raises the semaphore count above the amount that the "down"s
are trying to decrement it by.
perl v5.8.0 2002-06-01 Thread::Semaphore(3pm)