node-firebird-libfbclient
node-firebird-libfbclient copied to clipboard
No Asynchronous version of prepareSync()
The code below causes a deadlock:
async.parellel([
function(cb) { conn.prepareSync(); cb(); },
function(cb) { conn.prepareSync(); cb(); },
], function(err, results) {});
strange, this should work
There is no conn.prepare(callback) version.
How about this
async.parellel([
function(cb) { conn.prepareSync(); setImmediate(cb); },
function(cb) { conn.prepareSync(); setImmediate(cb); },
], function(err, results) {});
?