sorry for my english

I have blocking function from other C library and i use she
in uv_queue_work. Example source code:
http://pastebin.com/3cnyWLZb
My problem - breaking work function in any time. I try use uv_close and
give segfault. How right to do this?
Example user code:

var test = require('my').test;

test.async();

setTimeout(function () {
log('other thread working');
}, 1000);

setTimeout(function () {
test.async_close();
}, 2000);

Terminal output:
$ node ./ttt.js
w_begin
other thread working
close_begin
segmentation fault

thanks

-- 
Контакты: http://tuxnsk.ru/

-- 
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

Reply via email to