[svn:parrot] r46189 - trunk/src
mikehh at svn.parrot.org
mikehh at svn.parrot.org
Fri Apr 30 07:14:08 UTC 2010
Author: mikehh
Date: Fri Apr 30 07:14:08 2010
New Revision: 46189
URL: https://trac.parrot.org/parrot/changeset/46189
Log:
fix codetest failure - add c function docs
Modified:
trunk/src/thread.c
Modified: trunk/src/thread.c
==============================================================================
--- trunk/src/thread.c Fri Apr 30 07:13:37 2010 (r46188)
+++ trunk/src/thread.c Fri Apr 30 07:14:08 2010 (r46189)
@@ -703,6 +703,16 @@
return make_local_copy(d, s, sub);
}
+/*
+
+=item C<PMC * pt_thread_create(PARROT_INTERP, INTVAL type, INTVAL clone_flags)>
+
+create a pt_thread
+
+=cut
+
+*/
+
PMC *
pt_thread_create(PARROT_INTERP, INTVAL type, INTVAL clone_flags)
{
@@ -716,6 +726,17 @@
return new_interp_pmc;
}
+/*
+
+=item C<int pt_thread_run(PARROT_INTERP, PMC *thread_interp_pmc, PMC *sub, PMC
+*arg)>
+
+run a pt_thread
+
+=cut
+
+*/
+
int
pt_thread_run(PARROT_INTERP, PMC *thread_interp_pmc, ARGIN(PMC *sub), ARGIN_NULLOK(PMC *arg))
{
@@ -744,6 +765,17 @@
return thread_interp->thread_data->tid;
}
+/*
+
+=item C<int pt_thread_create_run(PARROT_INTERP, INTVAL type, INTVAL clone_flags,
+PMC *sub, PMC *arg)>
+
+create a pt_thread run
+
+=cut
+
+*/
+
int
pt_thread_create_run(PARROT_INTERP,
INTVAL type, INTVAL clone_flags, ARGIN(PMC *sub), ARGIN_NULLOK(PMC *arg))
More information about the parrot-commits
mailing list