On Wed, Jun 27, 2012 at 11:11 PM, Bert Belder wrote:
> On Wednesday, June 27, 2012 2:59:36 PM UTC+2, Ben Noordhuis wrote:
>>
>> On Wed, Jun 27, 2012 at 12:02 PM, Jorge wrote:
>> > I use to check ev_async_pending(&watcher) before doing an
>> > ev_async_send(&watcher). Is there anything like ev_asy
On Wednesday, June 27, 2012 2:59:36 PM UTC+2, Ben Noordhuis wrote:
>
> On Wed, Jun 27, 2012 at 12:02 PM, Jorge wrote:
> > I use to check ev_async_pending(&watcher) before doing an
> ev_async_send(&watcher). Is there anything like ev_async_pending() in
> libuv?
>
> No. What pattern do you use?
On Wed, Jun 27, 2012 at 12:02 PM, Jorge wrote:
> I use to check ev_async_pending(&watcher) before doing an
> ev_async_send(&watcher). Is there anything like ev_async_pending() in libuv?
No. What pattern do you use? Something like this?
if (!ev_async_pending(w))
ev_async_send(w);
If yes,
On 25/06/2012, at 19:50, Jorge wrote:
> On 25/06/2012, at 19:11, Fedor Indutny wrote
>> On Tue, Jun 26, 2012 at 12:04 AM, Jorge wrote:
>>>
>>> What does replace
>>>
>>> ev_async_start(EV_DEFAULT_UC_ &thread->async_watcher);
>>>
>>> and
>>>
>>> ev_async_stop(EV_DEFAULT_UC_ &thread->async_watche
On 25/06/2012, at 19:11, Fedor Indutny wrote
> On Tue, Jun 26, 2012 at 12:04 AM, Jorge wrote:
>> On 25/06/2012, at 18:28, Fedor Indutny wrote:
>>>
>>> You should try using:
>>>
>>> uv_async_init(uv_default_loop(), &async_watcher, AsyncCallback);
>>> uv_async_send(uv_default_loop(), &async_watche
start is performed automatically, stop may be done via
uv_close((uv_handle_t*)&async_watcher, NULL).
Cheers,
Fedor.
On Tue, Jun 26, 2012 at 12:04 AM, Jorge wrote:
> On 25/06/2012, at 18:28, Fedor Indutny wrote:
>
> > You should try using:
> >
> > uv_async_init(uv_default_loop(), &async_watche
On 25/06/2012, at 18:31, Isaac Schlueter wrote:
>
> On Mon, Jun 25, 2012 at 9:25 AM, Jorge wrote:
>> One more thing:
>>
>> I've been reading the "API changes between v0.6 and v0.8" and "How to
>> migrate from eio_custom to uv_queue_work" but this isn't there, istm.
>>
> The "how to migrate" wi
On 25/06/2012, at 18:28, Fedor Indutny wrote:
> You should try using:
>
> uv_async_init(uv_default_loop(), &async_watcher, AsyncCallback);
> uv_async_send(uv_default_loop(), &async_watcher);
>
> Cheers,
> Fedor.
[x] DONE (thank you!) :-P
What does replace
ev_async_start(EV_DEFAULT_UC_ &threa
The "how to migrate" wiki page is here:
https://github.com/joyent/node/wiki/How-to-migrate-from-eio_custom-to-uv_queue_work
On Mon, Jun 25, 2012 at 9:25 AM, Jorge wrote:
> One more thing:
>
> I've been reading the "API changes between v0.6 and v0.8" and "How to migrate
> from eio_custom to uv_qu
You should try using:
uv_async_init(uv_default_loop(), &async_watcher, AsyncCallback);
uv_async_send(uv_default_loop(), &async_watcher);
Cheers,
Fedor.
On Mon, Jun 25, 2012 at 11:25 PM, Jorge wrote:
> One more thing:
>
> I've been reading the "API changes between v0.6 and v0.8" and "How to
>
One more thing:
I've been reading the "API changes between v0.6 and v0.8" and "How to migrate
from eio_custom to uv_queue_work" but this isn't there, istm.
So, would you *please* tell me the proper way to write this in the new libuv
era?
ev_async_send(EV_DEFAULT_UC_ &thread->async_watcher)
Yes that works, thank you very much Isaac.
--
Jorge.
On 25/06/2012, at 17:58, Isaac Schlueter wrote:
> Aha, the issue is that ~ is not being expanded in the shebang step.
> If you do this, it will work:
>
> ./configure --prefix=$HOME/JAVASCRIPT/binarios
>
> We can fix this for 0.8.1 :)
>
> On
I think that issue existed since 0.5.x.
Cheers,
Fedor.
On Mon, Jun 25, 2012 at 10:58 PM, Isaac Schlueter wrote:
> Aha, the issue is that ~ is not being expanded in the shebang step.
> If you do this, it will work:
>
> ./configure --prefix=$HOME/JAVASCRIPT/binarios
>
> We can fix this for 0.8.
Aha, the issue is that ~ is not being expanded in the shebang step.
If you do this, it will work:
./configure --prefix=$HOME/JAVASCRIPT/binarios
We can fix this for 0.8.1 :)
On Mon, Jun 25, 2012 at 8:56 AM, Isaac Schlueter wrote:
> Yep. That's a bug. Please post an issue.
> https://github.com
Yep. That's a bug. Please post an issue.
https://github.com/joyent/node/issues
It seems to work fine if you install without a --prefix, but of
course, then it goes to /usr/local, which may not be what you want.
On Mon, Jun 25, 2012 at 8:46 AM, Jorge wrote:
> Help me please:
>
> $ ./configure -
Help me please:
$ ./configure --prefix=~/JAVASCRIPT/binarios/
$ make -j 3 install
is giving me this:
...
shebang #!~/JAVASCRIPT/binarios/bin/node
~/JAVASCRIPT/binarios/lib/node_modules/npm/bin/npm-cli.js
fs.js:338
return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode);
Woop woop!
THANKS
On Mon, Jun 25, 2012 at 5:01 PM, Isaac Schlueter wrote:
> I am thrilled to announce the arrival of a new stable version of Node.js.
>
> Compared with the v0.6 releases of Node, this release brings
> significant improvements in many key performance metrics, as well as
> cleanup
17 matches
Mail list logo