Commit graph

5 commits

Author SHA1 Message Date
Robert Morris 020c8e2384 use acquire/release to force order for pid=np->pid;np->state=RUNNING
for bug reported by symingz@gmail.com and cs1100254@cse.iitd.ernet.in
2014-08-04 06:13:49 -04:00
Russ Cox 00e571155c more doc tweaks 2009-07-12 18:33:37 -07:00
rsc c2258bf4d2 fork minibug 2007-11-28 20:47:22 +00:00
rsc 943fd378a1 Incorporate new understanding of/with Intel SMP spec.
Dropped cmpxchg in favor of xchg, to match lecture notes.

Use xchg to release lock, for future protection and to
keep gcc from acting clever.
2007-10-01 20:43:15 +00:00
rsc c840f3ecdc tricks 2007-09-30 14:20:47 +00:00