From: <ra...@ra...> - 2010-10-27 16:24:18
|
Not having ever written to this list, I hadn't realized that I was not replying to the list. Sorry. As for a request for Windows API chops, I've got those, it's the SBCL internal knowledge I'm missing (and little pthreads knowledge). ----- Forwarded message from ----- Date: Tue, 26 Oct 2010 16:23:22 -0400 From: ra...@ra... Reply-To: ra...@ra... Subject: Re: [Sbcl-devel] Request for review of Windows threads support To: Kalyanov Dmitry <kal...@gm...> I tried it, and it didn't work for me, but I was doing something somewhat unusual. I was trying to write a CFFI for portaudio. Portaudio on Windows uses CreateThread, and uses that thread for callbacks to fill the audio buffers. I didn't do much tracking, but calling back into your version of a threaded Windows SBCL from an externally created thread was pretty unstable. It might work a couple times, then crash. Or it might crash the first time. Sometimes, I might get to run my function a few more times by initializing portaudio twice before calling anything else, which is pretty weird behavior. Neil Gilmore ra...@ra... |