Go to the source code of this file.
Classes | |
struct | network_worker_pool::manager |
Namespaces | |
network_worker_pool | |
Macros | |
#define | ALIGN_4 |
Aligns a variable on a 4 byte boundary. More... | |
#define ALIGN_4 |
Aligns a variable on a 4 byte boundary.
The address needs to be aligned on a Sparc system, if it's not aligned the SDLNet_Read32 call will cause a SIGBUS and the server will be terminated [1]. Best use this alignment for all buffers used in for the SDL_Net calls.
[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=426318
Definition at line 35 of file network_worker.hpp.
Referenced by network::receive_data().