XP doesn't support eventthread?

Hi.

I am getting the following message out of a
program trying to INIT_EVENTTHREAD at SDL_Init():

“OS doesn’t support event threading”

I am running WinXP and compile using MSVC.

Is there no support for the event-threading in XP?
I have tried to compile&run programs using
threads (using the SDL thread API) and it works
fine.

By the way: is there any documentation about
INIT_EVENTTHREAD somewhere? I can’t find it in the
official SDL-documentation.

/Olof

Hi.

I am getting the following message out of a
program trying to INIT_EVENTTHREAD at SDL_Init():

“OS doesn’t support event threading”

I am running WinXP and compile using MSVC.

Is there no support for the event-threading in XP?
I have tried to compile&run programs using
threads (using the SDL thread API) and it works
fine.

By the way: is there any documentation about
INIT_EVENTTHREAD somewhere? I can’t find it in the
official SDL-documentation.

That’s because it’s unsupported and only works on Linux and BeOS.

See ya,
-Sam Lantinga, Software Engineer, Blizzard Entertainment

Sam Lantinga wrote:

By the way: is there any documentation about
INIT_EVENTTHREAD somewhere? I can’t find it in the
official SDL-documentation.

That’s because it’s unsupported and only works on Linux and BeOS.

does this mean it IS possible to have the eventloop in another thread
then the one that does the SDL_INITVIDEO thing? i need this and i don’t
care about other platforms then linux, becaus it is for a plugin
development for a “linux only” project.

is there documentation about that somewhere?

thx …
clemens

Sam Lantinga wrote:

By the way: is there any documentation about
INIT_EVENTTHREAD somewhere? I can’t find it in the
official SDL-documentation.

That’s because it’s unsupported and only works on Linux and BeOS.

does this mean it IS possible to have the eventloop in another thread
then the one that does the SDL_INITVIDEO thing?

Yes.

i need this and i don’t
care about other platforms then linux, becaus it is for a plugin
development for a “linux only” project.

Okay.

is there documentation about that somewhere?

Nope. Basically, it creates a new thread for the X11 event processing,
which means that you can poll events from any thread safely. Keep in
mind that this doesn’t mean that you can make graphics calls from any
thread, you can only read events from any thread.

See ya,
-Sam Lantinga, Software Engineer, Blizzard Entertainment