#30 Threaded program hangs at end

v3.0beta
closed
5
2012-08-14
2005-02-16
No

Win XP SP1 in both cases

The attached program produces this result

C:\exlibris\rexx>rexx -version
Open Object Rexx Interpreter Version 3.0.0
Build date: Feb 16 2005
Copyright (c) IBM Corporation 1995, 2004.
Copyright (c) RexxLA 2005.
All Rights Reserved.
This program and the accompanying materials
are made available under the terms of the Common
Public License v1.0
which accompanies this distribution.
http://www.ibm.com/developerworks/oss/CPLv1.0.htm
C:\exlibris\rexx>rexx objectest.rexx
Waiter 1 waiting 2 seconds
Waiter 2 waiting 3 seconds
Waiter 3 waiting 4 seconds
Waiter 4 waiting 3 seconds
Waiter 5 waiting 1 seconds
Waiting for counter
Waiter 5 finished
Waiter 1 finished
Waiter 4 finished
Waiter 2 finished
Waiter 3 finished
All done
^C
C:\exlibris\rexx>

hangs and requires a Ctrl-C to terminate
with the oorexx beta and

C:\exlibris\rexx>rexx -version
IBM Object REXX Interpreter Version 2.1
Build date: Feb 20 2001
Copyright (c) IBM Corporation 1996, 2001. All Rights
Reserved.
C:\exlibris\rexx>rexx objectest.rexx
Waiter 1 waiting 2 seconds
Waiter 2 waiting 5 seconds
Waiter 3 waiting 3 seconds
Waiter 4 waiting 1 seconds
Waiting for counter
Waiter 5 waiting 10 seconds
Waiter 4 finished
Waiter 1 finished
Waiter 3 finished
Waiter 2 finished
Waiter 5 finished
All done

C:\exlibris\rexx>

normal termination
on a different WinXP SP1 system with the IBM ex-
product

Discussion

  • Geoff Stevens

    Geoff Stevens - 2005-02-16

    the failing program

     
  • Rick McGuire

    Rick McGuire - 2005-02-16

    Logged In: YES
    user_id=1125291

    Had a problem with nested critical sections causing a hang
    at termination. This will be fixed in the next update.

     


Anonymous

Cancel  Add attachments





Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks