Code

java plugin: Added the ability to have `Write' callbacks in Java modules.
authorFlorian Forster <octo@leeloo.lan.home.verplant.org>
Wed, 18 Feb 2009 11:49:56 +0000 (12:49 +0100)
committerFlorian Forster <octo@leeloo.lan.home.verplant.org>
Wed, 18 Feb 2009 11:49:56 +0000 (12:49 +0100)
commit548fd26b26483f6f147274ba2c37337d47defdf0
tree40bbcac1ee1ce59e5758ea11c19dcde115175987
parentff1c15a6849cd5c35fa3fce7444cb407fbb0cb4c
java plugin: Added the ability to have `Write' callbacks in Java modules.

I think right now having both, a `Read' and a `Write' function, would be
a problem, because the same thread would enter the JVM twice, possibly
detaching itself from the JVM when the write callback is finished, while
it actually still is in the read callback. Adding a `dispatch thread' or
something similar should take care of this problem.

Other than that, converting `data_set_t' and `value_list_t' to their
Java equivalents and back works fine now.
src/java.c