Skip to content

Commit

Permalink
Merge deprecate_tqueue branch into trunk. This removes the Tqueue PMC…
Browse files Browse the repository at this point in the history
… from Parrot.

git-svn-id: https://svn.parrot.org/parrot/trunk@37029 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
  • Loading branch information
jkeenan committed Feb 27, 2009
1 parent 52113c9 commit 85bf6e4
Show file tree
Hide file tree
Showing 12 changed files with 74 additions and 809 deletions.
6 changes: 2 additions & 4 deletions MANIFEST
@@ -1,7 +1,7 @@
# ex: set ro:
# $Id$
#
# generated by tools/dev/mk_manifest_and_skip.pl Wed Feb 25 17:00:32 2009 UT
# generated by tools/dev/mk_manifest_and_skip.pl Fri Feb 27 02:52:49 2009 UT
#
# See tools/dev/install_files.pl for documentation on the
# format of this file.
Expand Down Expand Up @@ -717,7 +717,6 @@ examples/pir/quine_ord.pir [examples]
examples/pir/readline.pir [examples]
examples/pir/substr.pir [examples]
examples/pir/sudoku.pir [examples]
examples/pir/thr-primes.pir [examples]
examples/pir/uniq.pir [examples]
examples/sdl/anim_image.pir [examples]
examples/sdl/anim_image_dblbuf.pir [examples]
Expand Down Expand Up @@ -2242,7 +2241,6 @@ src/pmc/stringhandle.pmc [devel]src
src/pmc/sub.pmc [devel]src
src/pmc/task.pmc [devel]src
src/pmc/timer.pmc [devel]src
src/pmc/tqueue.pmc [devel]src
src/pmc/undef.pmc [devel]src
src/pmc/unmanagedstruct.pmc [devel]src
src/pmc_freeze.c []
Expand Down Expand Up @@ -2307,6 +2305,7 @@ t/codingstd/fixme.t [test]
t/codingstd/gmt_utc.t [test]
t/codingstd/linelength.t [test]
t/codingstd/make_code_coda.t [test]
t/codingstd/pbc_compat.t [test]
t/codingstd/pccmethod_deps.t [test]
t/codingstd/pdd_format.t [test]
t/codingstd/perlcritic.t [test]
Expand Down Expand Up @@ -2690,7 +2689,6 @@ t/pmc/sys.t [test]
t/pmc/task.t [test]
t/pmc/threads.t [test]
t/pmc/timer.t [test]
t/pmc/tqueue.t [test]
t/pmc/undef.t [test]
t/pmc/unmanagedstruct.t [test]
t/postconfigure/01-options.t [test]
Expand Down
8 changes: 5 additions & 3 deletions PBC_COMPAT
Expand Up @@ -27,7 +27,8 @@

# please insert tab separated entries at the top of the list

3.36 2000.02.20 coke removed closure PMC
3.37 2009.02.26 jkeenan removed tqueue PMC
3.36 2009.02.20 coke removed closure PMC
3.35 2009.02.15 rurban added bignum.pmc
3.34 2009.01.23 coke removed intlist, enumerate, multiarray, pair, delegate, deleg_pmc PMCs
3.33 2009.01.20 chromatic removed n_neg opcode
Expand Down Expand Up @@ -60,7 +61,7 @@
3.06 2007.11.28 coke remove classname opcode
3.05 2007.10.29 allison add get_eh, get_all_eh, and count_eh opcodes
3.04 2007.10.28 paultcochrane remove clear_eh opcode
3.03 2007.10.17 coke released 0.4.17
3.03 2007.10.17 coke released 0.4.17
3.02 2007.09.20 bernhard remove opcode hash
3.02 2007.09.07 bernhard deprecate opcode substr_r
3.01 2007.08.17 chromatic store HLL names as strings in frozen Sub PMCs
Expand All @@ -77,7 +78,8 @@
2.17 2007.01.16 particle released 0.4.8
2.16 2006.12.16 paultcochrane deleted fetchmethod opcode
2.15 2006.11.14 chip released 0.4.7
2.14 2006.11.07 tewk added comp_flags to parrot_sub_t
2.14 2006.11.07 tewk added comp_flags to parrot_sub_t
2.14 2006.11.07 tewk added comp_flags to parrot_sub_t
2.13 2006.09.23 bernhard remove ops from dotgnu.ops
2.12 2006.08.18 leo removed None PMC from parrot core
2.11 2006.08.16 creiss added STM opcodes
Expand Down
11 changes: 6 additions & 5 deletions docs/book/ch05_pasm.pod
Expand Up @@ -2313,11 +2313,12 @@ threads are still under development, so you can expect significant
changes in the near future.

As outlined in the previous chapter, Parrot implements three different
threading models. The following example uses the third model, which
takes advantage of shared data. It uses a C<TQueue> (thread-safe
queue) object to synchronize the two parallel running threads. This
is only a simple example to illustrate threads, not a typical usage of
threads (no-one really wants to spawn two threads just to print out a
threading models. (B<Note>: As of version 1.0, the C<TQueue> PMC will be
deprecated, rendering the following discussion obsolete.) The following
example uses the third model, which takes advantage of shared data. It uses a
C<TQueue> (thread-safe queue) object to synchronize the two parallel running
threads. This is only a simple example to illustrate threads, not a typical
usage of threads (no-one really wants to spawn two threads just to print out a
simple string).

find_global P5, "_th1" # locate thread function
Expand Down
2 changes: 1 addition & 1 deletion editor/pir-mode.el
Expand Up @@ -156,7 +156,7 @@ newline or semicolon after an end keyword."
"ParrotRunningThread" "ParrotThread" "Pointer" "Random" "Ref"
"ResizableBooleanArray" "ResizableFloatArray" "ResizableIntegerArray"
"ResizablePMCArray" "ResizableStringArray" "RetContinuation"
"Role" "Scalar" "SharedRef" "Slice" "String" "Sub" "Super" "TQueue"
"Role" "Scalar" "SharedRef" "Slice" "String" "Sub" "Super"
"Timer" "UnManagedStruct" "Undef" "VtableCache"))

(defvar pir-ops
Expand Down
170 changes: 0 additions & 170 deletions examples/pir/thr-primes.pir

This file was deleted.

10 changes: 4 additions & 6 deletions src/pmc/pmc.num
Expand Up @@ -75,10 +75,8 @@ orderedhash.pmc 49

# other

tqueue.pmc 50
parrotclass.pmc 50
parrotobject.pmc 51

parrotclass.pmc 51
parrotobject.pmc 52

os.pmc 53
file.pmc 54
os.pmc 52
file.pmc 53

0 comments on commit 85bf6e4

Please sign in to comment.