bugDotGNU Portable.NET - Bugs: bug #4087, Monitor.Exit(o) doesn't throw...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #4087: Monitor.Exit(o) doesn't throw exception if its the last call in main

Submitted by:  Thong Nguyen <tum>
Submitted on:  Tue 24 Jun 2003 07:19:56 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed

Sun 29 Jun 2003 05:45:13 PM UTC, comment #1:

patch 1681 now fixes this

Thong Nguyen <tum>
Project Member
Tue 24 Jun 2003 07:19:56 PM UTC, original submission:

Consider the following code:

static void Main()
{
Monitor.Exit(new object());
}

ilrun siliently exits.

Consider this code:

static void Main()
{
Monitor.Exit(new object());
new object();
}

Now ilrun prints out the exception. I've tried to track down the source of the error but can't. Any help would be appreciated. Requires latest threading patch.

Thong Nguyen <tum>
Project Member

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 2 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Sun 29 Jun 2003 09:41:12 PM UTCrweatherStatusNone=>(Error - Not Found)
  Open/ClosedOpen=>(Error - Not Found)

Back to the top


Powered by Savane 3.1-cleanup1