2013-11-14 14:26:07 by Henrik Grubbström (Grubba) <email@example.com>
Fix warnings generated by Pike 8.0.
Note that some of the deprecation warnings have only been suppressed
in order to be compatible with Pike 7.8. These will have to be fixed
when the code is officially migrated to Pike 8.0 or later.
Inside #if defined(THREADS)