Since sbbs_t::online and sys_status are modified and checked in different threads, they really should've been atomic or at least volatile to prevent the compiler-optimizer from using the current/updated values at all times.
| Sysop: | LaF0rge |
|---|---|
| Location: | Berlin, Germany |
| Users: | 153 |
| Nodes: | 16 (0 / 16) |
| Uptime: | 01:51:35 |
| Calls: | 1,032 |
| Calls today: | 1,032 |
| Files: | 12 |
| U/L today: |
13 files (32,779K bytes) |
| D/L today: |
1,342 files (1,610M bytes) |
| Messages: | 25,361 |
| Posted today: | 31 |