win32 testers? [Re: child watch source (was: exception trap in key snooper callback)]




On Aug 26, 2008, at 8:29 PM, Kevin Ryde wrote:

Torsten Schoenfeld <kaffeetisch gmx de> writes:

The docs say that on win32, GPid is typedef'd to some kind of process handle,
i.e. a pointer.

Inflicting the incapacities of non-free on the free software world :-(

So I think the cast to int is not correct, at least on some
architectures.

Without the g_spawn funcs the int is all is for now, I believe. Ints of course will, with a little luck, inter-operate with native forking, and
at least a couple of the job-starting modules on cpan.

Also, can you write a unit test for this?

Below, with a couple of lines to hopefully skip if fork() isn't a real
fork, but I've got no way to try that.

Any win32 users willing to try out this patchset?


<GMainLoop.xs.child-watch-2.diff><9.t.child-watch-2.diff>



--
Teeter tots are shaped like marshmallows.
  -- Zella.




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