Well libuv does have thread stuff: https://github.com/joyent/libuv/blob/master/src/uv-common.c#L271-318 So I would say it would be possible to implement this stuff on top of libuv
On Monday, June 18, 2012 at 10:56 AM, rtweed wrote: > Thanks Jeroen! > > Hope a Windows port proves possible - looks very promising for an idea > I have in mind. I'll use clusters instead for now and see how I get > on with that. > > Rob > > On Jun 18, 8:59 am, Jeroen Janssen <[email protected] > (http://gmail.com)> wrote: > > Hi, > > > > As far as I can tell threads-a-gogo uses pthreads directly, so it will > > not work without some "porting" work. I am not sure if libuv provides > > enough api points to implement this module directly on top of libuv > > (i.e. as a 'platform abstraction'). > > > > Also it seems this module is still using node-waf to compile instead > > of using node-gyp. I don't know how long node-waf will still be > > supported. > > > > Best regards, > > > > Jeroen > > > > On Jun 18, 9:19 am, rtweed <[email protected] (http://gmail.com)> wrote: > > > > > > > > > > > > > > > > > Could anyone confirm whether or not the threads_a_gogo module is > > > available for Windows? If not, are there plans to make it available > > > for Windows? It's not mentioned anywhere in the module's > > > documentation (that I could find, at least) > > > > > > > > > > My attempt to install it using npm install threads_a_gogo suggests it > > > isn't: > > > > > > > > > > > [email protected] install C:\node\node_modules\threads_a_gogo > > > > node-waf configure install > > > > > > > > > > > > > > 'node-waf' is not recognized as an internal or external command, > > > operable program or batch file. > > > npm ERR! error installing [email protected] > > > npm ERR! [email protected] install: `node-waf configure install` > > > npm ERR! `cmd "/c" "node-waf configure install"` failed with 1 > > > npm ERR! > > > npm ERR! Failed at the [email protected] install script. > > > npm ERR! This is most likely a problem with the threads_a_gogo > > > package, > > > npm ERR! not with npm itself. > > > npm ERR! Tell the author that this fails on your system: > > > npm ERR! node-waf configure install > > > npm ERR! You can get their info via: > > > npm ERR! npm owner ls threads_a_gogo > > > npm ERR! There is likely additional logging output above. > > > npm ERR! > > > npm ERR! System Windows_NT 5.1.2600 > > > npm ERR! command "C:\\Program Files\\nodejs\\\\node.exe" "C:\\Program > > > Files\\nod > > > ejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "threads_a_gogo" > > > npm ERR! cwd C:\node > > > npm ERR! node -v v0.6.6 > > > npm ERR! npm -v 1.1.0-beta-4 > > > npm ERR! code ELIFECYCLE > > > npm ERR! message [email protected] install: `node-waf configure > > > install` > > > npm ERR! message `cmd "/c" "node-waf configure install"` failed with 1 > > > npm ERR! > > > npm ERR! Additional logging details can be found in: > > > npm ERR! C:\node\npm-debug.log > > > npm not ok > > > > > > > > > > Thanks for any help/advice anyone can give > > > > > Rob > > -- > Job Board: http://jobs.nodejs.org/ > Posting guidelines: > https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines > You received this message because you are subscribed to the Google > Groups "nodejs" group. > To post to this group, send email to [email protected] > (mailto:[email protected]) > To unsubscribe from this group, send email to > [email protected] > (mailto:[email protected]) > For more options, visit this group at > http://groups.google.com/group/nodejs?hl=en?hl=en > > -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en
