Hello, I made a small patch for the nsis-0.4.1-dev:
The current NSLP API waitForSignal() is blocked until a signal comes from GIST. This doesn't allow applications to use a custom select() function, i.e. to wait for custom sockets/timeouts within the same thread. I would propose to split the functionality of waitForSignal() into two new functions: getSockets() and processSockets(). The waitForSignal() should call these new functions and an own select(), so the original functionality is preserved.
If you agree to my changes, could you please "adopt" these changes into the official nsis implementation?
thanx and regards Petr Gotthard
Hello Petr,
thanks for your contribution. We're applying the patch into our source tree.
Bernd
Gotthard, Petr wrote:
Hello, I made a small patch for the nsis-0.4.1-dev:
The current NSLP API waitForSignal() is blocked until a signal comes from GIST. This doesn't allow applications to use a custom select() function, i.e. to wait for custom sockets/timeouts within the same thread. I would propose to split the functionality of waitForSignal() into two new functions: getSockets() and processSockets(). The waitForSignal() should call these new functions and an own select(), so the original functionality is preserved.
If you agree to my changes, could you please "adopt" these changes into the official nsis implementation?
thanx and regards Petr Gotthard
nsis_imp@informatik.uni-goettingen.de