2008/8/21 Curt Hagenlocher <[EMAIL PROTECTED]>

> It's a feature!
>
> http://www.codeplex.com/IronPython/WorkItem/View.aspx?WorkItemId=16249
>
> There was a moderately long thread about this back in April.  You can turn
> the warning off either through Python's normal warning-disabling mechanism
> or by running -X:MTA.  Or by doing as the warning suggests and calling
> Thread.CurrentThread.Join().  Unfortunately, we don't have a reliable way to
> identify whether or not the situation that prompted this warning has
> occurred, or we'd take advantage of it. Given the potential for surprise
> effects -- such as the person who originally reported this problem and was
> seeing steadily climbing memory utilization in his process -- it seems to us
> like a good warning to have.
>
> As always, we're interested in hearing other points of view.
>

I should have checked. Where is the warning coming from though - I don't get
a warning using it from C# ?

Michael


>
>
> On Thu, Aug 21, 2008 at 1:11 PM, Michael Foord <[EMAIL PROTECTED]>wrote:
>
>> Hello all,
>>
>> In the latest code sync from codeplex I get a RuntimeWarning every time I
>> call Thread.Sleep. Is this one of the overzealous warnings that will be
>> fixed? (It is very annoying.)
>>
>> Michael
>>
>> --
>> http://www.ironpythoninaction.com/
>> http://www.voidspace.org.uk/
>> http://www.ironpython.info/
>> http://www.resolverhacks.net/
>>
>>
>>
>> _______________________________________________
>> Users mailing list
>> [email protected]
>> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
>>
>>
>
> _______________________________________________
> Users mailing list
> [email protected]
> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
>
>


-- 
http://www.ironpythoninaction.com/
http://www.voidspace.org.uk/
http://www.ironpython.info/
http://www.resolverhacks.net/
_______________________________________________
Users mailing list
[email protected]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Reply via email to