tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: Impossible to use multi threading with Tomcat by using a DLL ?
Date Mon, 21 Jan 2008 14:58:31 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Claire,

Claire Dugenet wrote:
| The first DLL, created with JNI, works well. Because : there are several
| fonctions in the second DLL (this one in language C).

I would imagine that they are both written in C, yes?

| The first function
| (which doesn't use threads) works well but when we call the second
| function (which uses multi thread), it doesn't work : the function is
| "block" where there is the call of the thread.

When you say "blocked", what do you mean? Is the code waiting on a mutex
or something? Are you using the standard win32 threading functions? Does
your code produce any debugging output?

What are you able to observe besides "it doesn't work"?

- -chris

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkeUsxcACgkQ9CaO5/Lv0PBXfQCgpf+I50StRtqCpwQkleDmCQ29
bPEAn21uLLYlJ6qHqDcNWWl7Eu025H7Q
=MhJD
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message