Skip to content
Tcl Source Code History Of Ticket 3534440fffffffffffffffffffffffffffffffff
Login

History Of Ticket 3534440fffffffffffffffffffffffffffffffff

Artifacts Associated With Ticket 3534440fffffffffffffffffffffffffffffffff

  1. Ticket change [03e43cb133] (rid 119902) by tomkiti on 2012-06-11 21:05:56:

    1. assignee initialized to: "vasiljevic"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      If the optional ?varname? is supplied to tpool::wait, it returns an empty string even if there are jobs pending.
      
    4. foundin initialized to: "obsolete: 8.5.11"
    5. is_private initialized to: "0"
    6. priority initialized to: "5 Medium"
    7. resolution initialized to: "None"
    8. status initialized to: "Open"
    9. submitter initialized to: "tomkiti"
    10. subsystem initialized to: "80. Thread Package"
    11. title initialized to: "tpool::wait does not return pending jobs"
    12. type initialized to: "Bug"
  2. Ticket change [a00b6e698b] (rid 96738) by tomkiti on 2012-06-12 04:05:56:

    1. icomment:
      
      
      File Added - 445803: tpoolBug.tcl
      
      
      
    2. login: "tomkiti"
    3. mimetype: "text/plain"
    4. username: "tomkiti"
  3. Add attachment "tpoolBug.tcl" [6050788c66] (rid 115973) by tomkiti on 2012-06-12 04:05:56.

  4. Ticket change [eb5bfc1958] (rid 103534) by vasiljevic on 2012-06-12 22:02:49:

    1. icomment:
      I cannot verify this. For me it seems to work correctly:
      
      lexxsrv:nscp 1> tpool::create 
      tpool0x3a7d270
      lexxsrv:nscp 2> tpool::post tpool0x3a7d270 "after 100000"
      1
      lexxsrv:nscp 3>  tpool::post tpool0x3a7d270 "after 50000"
      2
      lexxsrv:nscp 4> tpool::wait tpool0x3a7d270 "1 2" pending
      2
      lexxsrv:nscp 5> set pending
      1
      
      
      
      
      
      
    2. login: "vasiljevic"
    3. mimetype: "text/plain"
    4. username: "vasiljevic"
  5. Ticket change [de3553e37b] (rid 114803) by tomkiti on 2012-06-12 23:32:32:

    1. icomment:
      I get a different result:
      
      Z:\>tclsh
      % package require Thread
      2.6.7
      % tpool::create
      tpool01413310
      % tpool::post tpool01413310 "after 100000"
      1
      % tpool::post tpool01413310 "after 50000"
      2
      % tpool::wait tpool01413310 "1 2" pending
      2
      % set pending
      % exit
      
      Z:\>
      
      I'm running ActiveTcl8.5.11 on Windows 7, RedHat 5.7, and SunOS 5.9 and get the same results.
      
      
    2. login: "tomkiti"
    3. mimetype: "text/plain"
    4. username: "tomkiti"
  6. Ticket change [b3c52ba4a1] (rid 124908) by vasiljevic on 2012-06-12 23:49:23:

    1. icomment:
      Wierd. Then somebody broke something between 2.6.6
      (the last one I made any changes to) and the 2.6.7...
      This needs more examination.
      
      
    2. login: "vasiljevic"
    3. mimetype: "text/plain"
    4. username: "vasiljevic"
  7. Ticket change [3e6358136b] (rid 121260) by vasiljevic on 2012-06-13 00:02:09:

    1. icomment:
      So far I can see, the code from 2.6.5 and 2.6.7 did not change.
      Which means that it has something to do with core 8.5.11.
      We are still at 8.4 and there I cannot see any problem. 
      
      
    2. login: "vasiljevic"
    3. mimetype: "text/plain"
    4. username: "vasiljevic"
  8. Ticket change [4418f69fdb] (rid 116659) by tomkiti on 2012-06-13 01:10:21:

    1. icomment:
      I just tried it with ActiveTcl8.4.19 and see the problem.
      
      
    2. login: "tomkiti"
    3. mimetype: "text/plain"
    4. username: "tomkiti"
  9. Ticket change [a71bca4be2] (rid 98725) by vasiljevic on 2012-06-13 02:19:50:

    1. icomment:
      Then we will need to debug that part :-)
      
      
    2. login: "vasiljevic"
    3. mimetype: "text/plain"
    4. username: "vasiljevic"
  10. Ticket change [b6d4da5aec] (rid 125483) by vasiljevic on 2012-06-13 03:00:03:

    1. icomment:
      Unfortunately... I cannot reproduce this at will.
      I DO get sometimes the same result but only
      when I use some older compilation of the extension.
      If I recompile the, say, 2.6.5 fresh, I cannot get any problem.
      I will look into this in more detail but this will require time.
      
      
    2. login: "vasiljevic"
    3. mimetype: "text/plain"
    4. username: "vasiljevic"
  11. Ticket change [4d4cef4aa3] (rid 127031) by vasiljevic on 2012-06-13 03:13:48:

    1. icomment:
      Are you compiling the extension yourself or do you use
      precompiled binary?
      
      
    2. login: "vasiljevic"
    3. mimetype: "text/plain"
    4. username: "vasiljevic"
  12. Ticket change [f8b251743b] (rid 91587) by vasiljevic on 2012-06-14 00:15:50:

    1. icomment:
      OK. I am now able to reproduce it. This is a kind-of race condition
      which I have to understand. This is the explanation why it is sometimes
      visible and why not. 
      
      
    2. login: "vasiljevic"
    3. mimetype: "text/plain"
    4. resolution changed to: "Accepted"
    5. username: "vasiljevic"
  13. Ticket change [90b4934c80] (rid 120495) by vasiljevic on 2012-06-14 16:13:31:

    1. icomment:
      Hi!
      
      It was not (as anticipated) a race-condition. It was a regular bug.
      I now need to figure out how to submit my changes using this all
      new fancy SCM system that I', new at...
      
      The fix will appear in 2.7.0 release. Thank you for reporting the bug.
      
      
      
    2. login: "vasiljevic"
    3. mimetype: "text/plain"
    4. username: "vasiljevic"
  14. Ticket change [3580e59fbf] (rid 106949) by tomkiti on 2012-06-15 11:02:30:

    1. icomment:
      Thank you for fixing it!
      
      
    2. login: "tomkiti"
    3. mimetype: "text/plain"
    4. username: "tomkiti"
  15. Ticket change [2d919ffdb1] (rid 119086) by vasiljevic on 2012-09-13 18:29:07:

    1. closedate changed to: "2012-09-13T11:29:07"
    2. closer changed to: "vasiljevic"
    3. icomment:
      
      
      allow_comments - 1
      
      Fixed in 2.7
      
      
    4. login: "vasiljevic"
    5. mimetype: "text/plain"
    6. status changed to: "Closed"
    7. username: "vasiljevic"