There are software implementations for locking. I've made my own semaphore classes in the end and used them for class projects, and if I remember correctly there are a couple other ways of implementing synchronization. Avishay Traeger On Wed, 31 Dec 2003, [iso-8859-1] pankaj chauhan wrote: > hi all , > > i have a small doubt : Is it possible to have > synchronization between processes running on different > processors in a SMP without any harware support for > that. I mean can we implement mutual exclusion in > access of shared data without any 'lock ' prefix , or > atomic_swap , or atomic test_and_set instructions in > the instruction set of the machine. If yes then How ?? > > > Thanks, > Rgds , > Pankaj chauhan > > > > ________________________________________________________________________ > Yahoo! India Mobile: Download the latest polyphonic ringtones. > Go to http://in.mobile.yahoo.com > -- > Kernelnewbies: Help each other learn about the Linux kernel. > Archive: http://mail.nl.linux.org/kernelnewbies/ > FAQ: http://kernelnewbies.org/faq/ > > -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/