| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Re: Semaphore |
Hello Russell,
21.07.96 20:42, you wrote a message to Denis Tonn:
...
RC> A system call takes more CPU time than 1000 user-mode
RC> instructions. The fewer OS calls you make the faster your
RC> program will run and the lower the pulse rating will be.
lower?
main()
{
for(;;)
;
}
You should use critical sections in those cases you would code 'lock' in
assembler, IMHO. All other situations are better solved with sema4.
Personal style applies.
Bye,
Vitus
PS: Sorry, couldn't resist.
---
* Origin: Really a Point of BetaBox, Walheim (2:2474/100.20)SEEN-BY: 50/99 270/101 620/243 625/100 711/401 409 410 413 430 808 809 934 SEEN-BY: 711/955 712/407 515 624 628 713/888 800/1 @PATH: 2474/100 0 2433/1200 225 270/101 712/515 711/808 934 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.