[svn:parrot] r46291 - in trunk: docs/pdds include/parrot

darbelo at svn.parrot.org darbelo at svn.parrot.org
Tue May 4 22:41:29 UTC 2010


Author: darbelo
Date: Tue May  4 22:41:27 2010
New Revision: 46291
URL: https://trac.parrot.org/parrot/changeset/46291

Log:
Cleanup some leftovers fo the  _Sync removal.

Modified:
   trunk/docs/pdds/pdd17_pmc.pod
   trunk/include/parrot/pobj.h
   trunk/include/parrot/thread.h

Modified: trunk/docs/pdds/pdd17_pmc.pod
==============================================================================
--- trunk/docs/pdds/pdd17_pmc.pod	Tue May  4 22:17:00 2010	(r46290)
+++ trunk/docs/pdds/pdd17_pmc.pod	Tue May  4 22:41:27 2010	(r46291)
@@ -48,7 +48,6 @@
         VTABLE *vtable;
         DPOINTER *data;
         PMC *_metadata;
-        struct _Sync *_synchronize;    # [Note: may be deprecated, see STM]
     }
 
 C<flags> holds a set of flags associated with the PMC; these are documented

Modified: trunk/include/parrot/pobj.h
==============================================================================
--- trunk/include/parrot/pobj.h	Tue May  4 22:17:00 2010	(r46290)
+++ trunk/include/parrot/pobj.h	Tue May  4 22:41:27 2010	(r46291)
@@ -83,8 +83,6 @@
     const struct _charset  *charset;
 };
 
-struct _Sync;   /* forward decl */
-
 /* note that cache and flags are isomorphic with Buffer and PObj */
 struct PMC {
     Parrot_UInt     flags;

Modified: trunk/include/parrot/thread.h
==============================================================================
--- trunk/include/parrot/thread.h	Tue May  4 22:17:00 2010	(r46290)
+++ trunk/include/parrot/thread.h	Tue May  4 22:41:27 2010	(r46291)
@@ -147,12 +147,6 @@
 /* TODO use thread pools instead */
 VAR_SCOPE Shared_gc_info *shared_gc_info;
 
-typedef struct _Sync {
-    Parrot_Interp owner;                /* that interpreter, that owns
-                                           the arena, where the PMC is in */
-    Parrot_mutex pmc_lock;              /* for wr access to PMCs content */
-} Sync;
-
 /* HEADERIZER BEGIN: src/thread.c */
 /* Don't modify between HEADERIZER BEGIN / HEADERIZER END.  Your changes will be lost. */
 


More information about the parrot-commits mailing list