Search
]
Date:
[ Previous
| Next
]
Thread:
[ Previous
| Next
]
Index:
[ Author
| Date
| Thread
]
Re: [MUD-Dev] Two threads forced to one CPU? (was: Collecting ideas for a MUD server...)
cg#ami-cg,GraySage.Edmonton.AB.CA wrote:
> sometimes > 32 bits, these can work atomically. Unless you know the
> specifics, however, and want your software to not be readily portable to
> other CPU variants (even other I32's!), don't assume anything.
Indeed. If you're on win32, use the Interlocked...() family of functions
if you have a good reason to use static/global data. If you don't have
functions of that sort, write them--and be very aware of the high cost
of such functions, and the much higher cost of using mutexes to simulate
them.
--
http://www.classic-games.com/
Conspiracy theorists mistakenly assume others think before acting.
*** Please limit .sigs to four lines and avoid HTML mail or posts. ***
_______________________________________________
MUD-Dev maillist - MUD-Dev#kanga,nu
http://www.kanga.nu/lists/listinfo/mud-dev
- Thread context:
- Re: [MUD-Dev] Embedded languages, object persistance... ack., (continued)
- Re: [MUD-Dev] Two threads forced to one CPU? (was: Collecting ideas for a MUD server...),
cg cg#ami-cg,GraySage.Edmonton.AB.CA, Fri 24 Dec 1999, 19:03 GMT
- [MUD-Dev] Re: MUD-Dev digest, Vol 1 #237 - 9 msgs,
Dr. Cat cat#realtime,net, Thu 23 Dec 1999, 17:13 GMT
- [MUD-Dev] Job Openings - Mud Engineering,
Christopher Allen ChristopherA#Skotos,net, Thu 23 Dec 1999, 01:53 GMT
- [MUD-Dev] re: Originality/Points of Reference,
Ian Klimon, Esq. ian#aephirsden,com, Wed 22 Dec 1999, 18:57 GMT
[ Other Periods
| Other mailing lists
| Search
]