Re: Synchronized functions

2013-10-14 Thread Hannes Wallnoefer
Sorry, I didn't know that. Looking at it now. Hannes Am 2013-10-12 17:59, schrieb Marcus Lagergren: That is correct - Hannes, I believe you have to be at least project author to be able to file stuff for a particular openjdk project, but with the speed Tal is working at I assume he will be th

Re: Synchronized functions

2013-10-12 Thread Marcus Lagergren
That is correct - Hannes, I believe you have to be at least project author to be able to file stuff for a particular openjdk project, but with the speed Tal is working at I assume he will be that any day real soon now ;-) I have filed: https://bugs.openjdk.java.net/browse/JDK-8026367 /M On Oct

Re: Synchronized functions

2013-10-11 Thread Tal Liron
There doesn't seem to be a way for me to add Nashorn bugs there. Could you guys do it? On 10/11/2013 06:45 PM, Hannes Wallnoefer wrote: I guess addition to mozilla_compat would be ok. Can you please file a bug for this at https://bugs.openjdk.java.net/?

Re: Synchronized functions

2013-10-11 Thread Hannes Wallnoefer
arguments); } finally { syncobj._syncLock.unlock(); } }; }; See also: https://blogs.oracle.com/nashorn/entry/nashorn_multi_threading_and_mt -Sundar On Thursday 10 October 2013 03:16 PM, Tal Liron wrote: How does one create synch

Re: Synchronized functions

2013-10-11 Thread Tal Liron
_threading_and_mt -Sundar On Thursday 10 October 2013 03:16 PM, Tal Liron wrote: How does one create synchronized functions in Nashorn? Rhino has this facility: function myFunction() { ... } myFunction = new org.mozilla.javascript.Synchronizer(myFunction)

Re: Synchronized functions

2013-10-11 Thread Hannes Wallnoefer
; See also: https://blogs.oracle.com/nashorn/entry/nashorn_multi_threading_and_mt -Sundar On Thursday 10 October 2013 03:16 PM, Tal Liron wrote: How does one create synchronized functions in Nashorn? Rhino has this facility: function myFunction() { ... } myFunction = new org.mozilla.javascript.Synchronizer(myFunction)

Re: Synchronized functions

2013-10-11 Thread Tal Liron
y(null, arguments); } finally { syncobj._syncLock.unlock(); } }; }; See also: https://blogs.oracle.com/nashorn/entry/nashorn_multi_threading_and_mt -Sundar On Thursday 10 October 2013 03:16 PM, Tal Liron wrote: How does one create synchronized functions in Nas

Re: Synchronized functions

2013-10-11 Thread Tal Liron
tps://blogs.oracle.com/nashorn/entry/nashorn_multi_threading_and_mt -Sundar On Thursday 10 October 2013 03:16 PM, Tal Liron wrote: How does one create synchronized functions in Nashorn? Rhino has this facility: function myFunction() { ... } myFunction = new org.mozilla.javascript.Synchronizer(myFunction)

Re: Synchronized functions

2013-10-11 Thread A. Sundararajan
ts); } finally { syncobj._syncLock.unlock(); } }; }; See also: https://blogs.oracle.com/nashorn/entry/nashorn_multi_threading_and_mt -Sundar On Thursday 10 October 2013 03:16 PM, Tal Liron wrote: How does one create synchronized functions in Nashorn? Rhino ha

Synchronized functions

2013-10-10 Thread Tal Liron
How does one create synchronized functions in Nashorn? Rhino has this facility: function myFunction() { ... } myFunction = new org.mozilla.javascript.Synchronizer(myFunction)