[IronPython] IP 2 B5 and Thread.Sleep Warning

Michael Foord fuzzyman at voidspace.org.uk
Thu Aug 21 23:21:46 CEST 2008


2008/8/21 Curt Hagenlocher <curt at hagenlocher.org>

> 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 <fuzzyman at voidspace.org.uk>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
>> Users at lists.ironpython.com
>> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
>>
>>
>
> _______________________________________________
> Users mailing list
> Users at lists.ironpython.com
> 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/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20080822/2553f4be/attachment.html>


More information about the Ironpython-users mailing list