On Tuesday, July 1, 2014 2:09:22 PM UTC+5:30, Saúl Ibarra Corretgé wrote: > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > > > > > Well, not really. I unified the threadpools a few days ago, before > > that we used QueueUserWorkItem Windows API which basically creates > > a new thread each time, IIRC. > > > > > >> Well yes I am using exactly same libuv (and that's what its > >> expected here in my app) Can we not fix it with having > >> QueueUserWorkItem ? > > > > Heh, no way. We unified the threadpool implementations for a reason. > If you want to use threads you can create your own with > uv_thread_create and do the queuing yourself. > > Alternatively, you can use the UV_THREADPOOL_SIZE environment variable > to set the threadpool size, it's capped at 128. > > >From the little documentation available on uv_thread_create, I can gather that I'll have to create thread and make event loop wait for it to close using uv_thread_join. This doesn't fit to the current design of application.
To address this crash@2GB issue, I'd prefer to try with latest master (and patch) and will update you if the crash is reproduced there as well. Tnx, Ashish - -- > Saúl Ibarra Corretgé > bettercallsaghul.com > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1 > Comment: Using GnuPG with Icedove - http://www.enigmail.net/ > > iQIcBAEBAgAGBQJTsnN7AAoJEEEOVVOum8BZOK8P/2hKkLklGV/AtWyttjtrRfUs > Vt+twVS0Qxu1gmmA09QdCLSfmkLV3dTyDKsSRBLJ69KQE2Np5vyrzSUoVkgCWvlS > ++8dVdNpehnG65MCWMDPHHcOAsLkxmxchiNrZ5h+yOjgo2SYhY6Y+QTckC2v67eR > rpqge9/CmoERT3MhTXmVq8R+vS/R9rigcdD2+psFY8oZRIySelDG/9rw3J5ze+8J > 6rvJOHSUpEHTzTZv5LHIUMNBY2/w/M75KCWfYQ5LfjaI9h6BwOrGdkkx5m4pdKuy > pXomrksuPbywZTo3nb2n9li1J+tl/onB0RmZFYlEhXxZq5Sqs14jNZgpDQdb/SJX > TpNKgRuKvEeHhVbX/gM0OVNTYBbjycwRN04y2xEG9PV7GFt4KpGNdgDlq3ZWg4vc > x9vCG0w7nT3kwNqeJo6vaT8KB1ehOG0ETPBSf4EOf7uhxH/rUKBjKOm8vBJSkDTg > tARIWVQDzQz8zc9DmIkIGKmULmaDrIsksUOXJxgYBIwJy9UHOWNwkaHvlDlCyDwn > uJ/QqmiyiX0T8q08Pq5OpjOIaXjhMUL4bDMFcAG/6ghjmmxApGZVOxWl62KW95V4 > LUOyydaxBeV1AdMWFhxWoTdOHzVYMgaId31cY1+EvhhGscMyBOqBqSWUxgP/WZQ4 > ufhfatSMP1BBF/Q4ry+I > =+/Yr > -----END PGP SIGNATURE----- > -- You received this message because you are subscribed to the Google Groups "libuv" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/libuv. For more options, visit https://groups.google.com/d/optout.
