diff options
| author | Benoit Germain <bnt.germain@gmail.com> | 2012-11-27 11:17:40 +0100 |
|---|---|---|
| committer | Benoit Germain <bnt.germain@gmail.com> | 2012-11-27 11:17:40 +0100 |
| commit | ccce35f39c2b533803d6ce8e9b82cd5c63fcedac (patch) | |
| tree | c3866613d6271ad80ab11f0af27de9b5dc48f7ee | |
| parent | a7deb5656b52ef9a8126998398e06154378e88f1 (diff) | |
| download | lanes-ccce35f39c2b533803d6ce8e9b82cd5c63fcedac.tar.gz lanes-ccce35f39c2b533803d6ce8e9b82cd5c63fcedac.tar.bz2 lanes-ccce35f39c2b533803d6ce8e9b82cd5c63fcedac.zip | |
Same selfdestruct chain handling on all platforms
| -rw-r--r-- | src/lanes.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lanes.c b/src/lanes.c index e0374cc..6c044d1 100644 --- a/src/lanes.c +++ b/src/lanes.c | |||
| @@ -1210,7 +1210,7 @@ static int selfdestruct_gc( lua_State *L) | |||
| 1210 | // or single Yield. I don't have machine to test that (so leaving | 1210 | // or single Yield. I don't have machine to test that (so leaving |
| 1211 | // for timed approach). -- AKa 25-Oct-2008 | 1211 | // for timed approach). -- AKa 25-Oct-2008 |
| 1212 | 1212 | ||
| 1213 | #ifdef PLATFORM_LINUX | 1213 | #if 0 // def PLATFORM_LINUX |
| 1214 | // It seems enough for Linux to have a single yield here, which allows | 1214 | // It seems enough for Linux to have a single yield here, which allows |
| 1215 | // other threads (timer lane) to proceed. Without the yield, there is | 1215 | // other threads (timer lane) to proceed. Without the yield, there is |
| 1216 | // segfault. | 1216 | // segfault. |
