| plan 9 kernel history: overview | file list | diff list |
1990/1226/gnot/lock.c (diff list | history)
| 1990/0705/sys/src/9/gnot/lock.c:18,24 – 1990/1226/sys/src/9/gnot/lock.c:18,24 (short | long | prev | next) | ||
| 1990/03091 | void lock(Lock *l) { | |
| 1990/0705 |
| |
| 1990/1226 | Lock *ll = l; /* do NOT take the address of ll */ | |
| 1990/03091 | int i; /* | |
| 1990/0705/sys/src/9/gnot/lock.c:43,49 – 1990/1226/sys/src/9/gnot/lock.c:43,49 | ||
| 1990/03091 | int canlock(Lock *l) { | |
| 1990/0705 |
| |
| 1990/1226 | Lock *ll = l; /* do NOT take the address of ll */ | |
| 1990/0705 | if(ll->key >= 0){ ll->key |= 0x80; ll->pc = ((ulong*)&l)[PCOFF]; | |