Note: This website is archived. For up-to-date information about D projects and development, please visit wiki.dlang.org.

Changes between Version 1 and Version 2 of NoJni

Show
Ignore:
Author:
jcc7 (IP: 192.149.244.9)
Timestamp:
09/04/07 19:07:27 (17 years ago)
Comment:

fixed typo

Legend:

Unmodified
Added
Removed
Modified
  • NoJni

    v1 v2  
    33D and Java are both using a garbage collector. These GCs are suspending threads at their will and awake them if they are done. With JNI both share the same native threads, but the D GC does not know the Java GC nor vice versa. This is why they have to conflict sooner or later. I see no solution for this. 
    44 
    5 It seems, the Java code and the D code can only exist in seqarated processes. JNI cannot do that. An interprocess communication (IPC) is needed. 
     5It seems, the Java code and the D code can only exist in separated processes. JNI cannot do that. An interprocess communication (IPC) is needed. 
    66 
    77The requirements for this IPC in TioLink are: