This is the mail archive of the frysk-bugzilla@sourceware.org mailing list for the frysk project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug general/4688] frysk.event.EventLoop.isCurrentThread() sets EventLoop TID


------- Additional Comments From kris dot van dot hees at oracle dot com  2007-06-22 04:39 -------
Proposed patch:

--- EventLoop.java      2007-06-22 00:13:20.000000000 -0400
+++ EventLoop.java-new  2007-06-22 00:19:25.000000000 -0400
@@ -103,10 +103,6 @@
     private int tid = -1; // can change once
     final boolean isCurrentThread()
     {
-       if (tid == -1) {
-           updateTid();
-           return true;
-       }
        return tid == Tid.get();
     }
     private void wakeupBlockedEventLoop()


-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=4688

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]