TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: All
from: Gerard Gerritsen
date: 1996-02-24 13:42:12
subject: Some new thoughts about SMP `proble

Hello All!

While browsing the SMP V 2.11 Reference I noticed the following things.


> o An Application or associated subsystem must not use the 'INC'
> instruction as a semaphore without prepending a 'LOCK' prefix.

>[ lots deleted ]

>   In an OS/2 for SMP V2.11 environment this technique will not work
> because it is possible that two or more threads could be executing the
> same 'INC' instruction receiving the same results in each
> processor's/thread's flag

So, it is possible to have more threads executing the same code. ( provided
the UniProcessor flag has been reset... )

==> Gerard/2   - member of team os/2 -  1000521{at}ibk.fnt.hvu.nl

--- Fmail/2 1.02 Registered
* Origin: Yet another forgotten area! (2:283/203.18)
SEEN-BY: 50/99 78/0 270/101 620/243 711/401 409 410 413 430 808 809 934 955
SEEN-BY: 712/407 515 517 628 713/888 800/1 7877/2809
@PATH: 283/203 2 512 280/801 270/101 712/515 711/808 809 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™.