threads Changes

1 view
Skip to first unread message

Nicholas Clark

unread,
Nov 4, 2008, 3:20:38 PM11/4/08
to perl5-...@perl.org, perl58...@googlegroups.com, Jerry D. Hedden
So, yes, officially I'm now completing perl589delta, with big thanks to all
the volunteers who made this job way way way easier.

Now, you all thought it was over, but I can see a task that can be done
independently of me, and would help a lot. Specifically, 5.8.8 shipped
with threads 1.07. 5.8.9 will ship with threads 1.71. A lot happened -
Jerry (and contributors) were very busy:

http://cpan.uwinnipeg.ca/htdocs/threads/Changes.html

But I have no good idea whether it's even possible to pick 4 or so key things
that have improved. Else perl589delta.pod is simply going to be something
like:

=item *

C<threads> upgraded to 1.61

Too many changes to meaningfully précis. See its Changes file.

=cut


So is anyone able to donate some time to working out what the most important
threads changes are. Or if it's a lost cause.

Nicholas Clark

Nicholas Clark

unread,
Nov 4, 2008, 3:55:08 PM11/4/08
to Jerry D. Hedden, perl5-...@perl.org, perl58...@googlegroups.com
On Tue, Nov 04, 2008 at 03:47:02PM -0500, Jerry D. Hedden wrote:
> Nicholas Clark wrote:
> > Now, you all thought it was over, but I can see a task that can be done
> > independently of me, and would help a lot. Specifically, 5.8.8 shipped
> > with threads 1.07. 5.8.9 will ship with threads 1.71. A lot happened -
> > Jerry (and contributors) were very busy:
>
> Will something like this do:
>
> =item *
>
> C<threads> upgraded to 1.71
>
> =over
>
> =item *
>
> New thread state information methods: C<is_running>, C<is_detached>
> and C<is_joinable>. C<list> method enhanced to return running or joinable
> threads.
>
> =item *
>
> New thread signal method: C<kill>
>
> =item *
>
> Added capability to specify thread stack size
>
> =item *
>
> Added capability to control thread exiting behavior. Added a new C<exit>
> method.
>
> =back

Yes, that's beautiful, if you think that's a fair summary of the most
important changes between 1.07 and 1.71

Nicholas Clark

Nicholas Clark

unread,
Nov 4, 2008, 4:47:10 PM11/4/08
to Jerry D. Hedden, perl5-...@perl.org, perl58...@googlegroups.com
Thanks applied, as change 34727

On Tue, Nov 04, 2008 at 04:06:42PM -0500, Jerry D. Hedden wrote:


Except that I assumed that you meant =over here, not =back

> +=back
> +
> +=item *
> +
> +Added capability to add complex structures (e.g., hash of hashes) to queues.
> +
> +=item *
> +
> +Added capability to dequeue multiple items at once
> +
> +=item *
> +
> +Added new methods to inspect and manipulate queues: C<peek>, C<insert> and
> +C<extract>
> +
> +=back
> +
> =item *
>
> C<Tie::Memoize> upgraded to version 1.1

(podchecker is about the only sanity test that perl589delta.pod is getting,
currently)

Nicholas Clark

Reply all
Reply to author
Forward
0 new messages