[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

glut/freeglut and fork()

I'd like the game client to spawn a game server: i don't like the idea of 
launching two things each time i want to play.
The question is: what happens if i fork() from inside glut environment?
Let's say i'm inside the glut idle function, or (worse?) inside an input 
What happens?
Is it just a strange thing to do, or is it really a *bad* one?

Francesco Orsenigo