[IronPython] IP 2 B5 and Thread.Sleep Warning
Michael Foord
fuzzyman at voidspace.org.uk
Thu Aug 21 14:23:34 PDT 2008
2008/8/22 Michael Foord <fuzzyman at voidspace.org.uk>
>
>
> 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# ?
>
Ah. I see the issue - the warning was added deliberately (and I remember the
discussion now). *sigh*
>
> 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/
>
>
>
--
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://lists.ironpython.com/pipermail/users-ironpython.com/attachments/20080822/2ac64a88/attachment.htm>
More information about the Users
mailing list