Article View: comp.lang.java.programmer
Article #626solaris, jni, threads, EPERM
From: Christian Madsen
Date: Mon, 26 Feb 2001 14:55
Date: Mon, 26 Feb 2001 14:55
12 lines
1610 bytes
1610 bytes
hi I have made a java class which calls a native method, which spawns a thread, which calls back to the java class. This works under redhat linux-7.0, using jdk1.3, but when I try to port it to Solaris, I get EPERM when I try to create the thread (using pthread or thread does not matter). I also create the thread with NULL attributes, which normally works. This must have something to do with scheduling policies or something other? Thanks on advance.
Technical Details
Message-ID:
<p7um6.1622$dD.110708@twister.sunsite.dk>Path:
arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!nntp.cs.ubc.ca!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed1.uni2.dk!sunsite.dk!twister.sunsite.dk.POSTED!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f9a23,add51dc48066e47d,start X-Google-Attributes: gidf9a23,public X-Google-Thread: 10a146,add51dc48066e47d,start X-Google-Attributes: gid10a146,public X-Google-Thread: 11035d,add51dc48066e47d,start X-Google-Attributes: gid11035d,public X-Google-ArrivalTime: 2001-02-26 06:56:05 PST Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!nntp.cs.ubc.ca!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed1.uni2.dk!sunsite.dk!twister.sunsite.dk.POSTED!not-for-mail From: "Christian Madsen" <doktor@kom.auc.dk> Subject: solaris, jni, threads, EPERM Newsgroups: comp.lang.java.programmer,dk.edb.programmering.java,comp.unix.solaris Followup-To: comp.lang.java.programmer Reply-To: doktor@kom.auc.dk User-Agent: Pan/0.9.1 (Unix) X-No-Productlinks: Yes Lines: 12 Message-ID: <p7um6.1622$dD.110708@twister.sunsite.dk> Date: Mon, 26 Feb 2001 14:55:17 GMT NNTP-Posting-Host: 10.8.6.241 X-Trace: twister.sunsite.dk 983199317 10.8.6.241 (Mon, 26 Feb 2001 15:55:17 MET) NNTP-Posting-Date: Mon, 26 Feb 2001 15:55:17 MET Organization: "SunSITE.dk -- Supporting OpenSource"