[svn:parrot] r48729 - in branches/gsoc_threads: include/parrot src src/pmc t/pmc t/src
jkeenan at svn.parrot.org
jkeenan at svn.parrot.org
Mon Aug 30 23:05:27 UTC 2010
Author: jkeenan
Date: Mon Aug 30 23:05:26 2010
New Revision: 48729
URL: https://trac.parrot.org/parrot/changeset/48729
Log:
[codingstd] trailing space; pod syntax.
Modified:
branches/gsoc_threads/include/parrot/events.h
branches/gsoc_threads/include/parrot/threads.h
branches/gsoc_threads/src/events.c
branches/gsoc_threads/src/pmc/pmclist.pmc
branches/gsoc_threads/src/threads.c
branches/gsoc_threads/t/pmc/task_primes.t
branches/gsoc_threads/t/src/threads_io.t
Modified: branches/gsoc_threads/include/parrot/events.h
==============================================================================
--- branches/gsoc_threads/include/parrot/events.h Mon Aug 30 22:56:28 2010 (r48728)
+++ branches/gsoc_threads/include/parrot/events.h Mon Aug 30 23:05:26 2010 (r48729)
@@ -1,5 +1,5 @@
/* Copyright (C) 2010, Parrot Foundation.
- * $Id$
+ * $Id$
*/
#ifndef PARROT_EVENTS_H_GUARD
Modified: branches/gsoc_threads/include/parrot/threads.h
==============================================================================
--- branches/gsoc_threads/include/parrot/threads.h Mon Aug 30 22:56:28 2010 (r48728)
+++ branches/gsoc_threads/include/parrot/threads.h Mon Aug 30 23:05:26 2010 (r48729)
@@ -1,5 +1,5 @@
/* Copyright (C) 2010, Parrot Foundation.
- * $Id$
+ * $Id$
*/
#ifndef PARROT_THREADS_H_GUARD
Modified: branches/gsoc_threads/src/events.c
==============================================================================
--- branches/gsoc_threads/src/events.c Mon Aug 30 22:56:28 2010 (r48728)
+++ branches/gsoc_threads/src/events.c Mon Aug 30 23:05:26 2010 (r48729)
@@ -11,6 +11,8 @@
Users can register event handlers. When events occur, they are dispatched
to the appropriate handler asynchronously.
+=over 4
+
=cut
*/
@@ -412,6 +414,15 @@
}
/*
+
+=back
+
+=cut
+
+*/
+
+
+/*
* Local variables:
* c-file-style: "parrot"
* End:
Modified: branches/gsoc_threads/src/pmc/pmclist.pmc
==============================================================================
--- branches/gsoc_threads/src/pmc/pmclist.pmc Mon Aug 30 22:56:28 2010 (r48728)
+++ branches/gsoc_threads/src/pmc/pmclist.pmc Mon Aug 30 23:05:26 2010 (r48729)
@@ -497,7 +497,7 @@
PARROT_EXPORT
void
-Parrot_pmc_list_insert_by_number(PARROT_INTERP, PMC *list, PMC *value)
+Parrot_pmc_list_insert_by_number(PARROT_INTERP, PMC *list, PMC *value)
{
void *tmp;
PMC_List_Item *item;
Modified: branches/gsoc_threads/src/threads.c
==============================================================================
--- branches/gsoc_threads/src/threads.c Mon Aug 30 22:56:28 2010 (r48728)
+++ branches/gsoc_threads/src/threads.c Mon Aug 30 23:05:26 2010 (r48729)
@@ -126,7 +126,7 @@
UNLOCK(interp->thread_lock);
TLS_SET(tbl->tid_key, tidx);
-
+
Parrot_threads_outer_runloop(interp, *tidx);
return 0;
@@ -603,7 +603,7 @@
Parrot_threads_task_killed_handler(SHIM(int sig_number))
{
ASSERT_ARGS(Parrot_threads_task_killed_handler)
-
+
/* interrupt_blocking_system_calls_from_a_comment(); */
}
@@ -649,7 +649,7 @@
Parrot_check_if_task_killed(PARROT_INTERP)
{
ASSERT_ARGS(Parrot_check_if_task_killed)
-
+
PMC *current_task = Parrot_task_current(interp);
Parrot_Task_attributes *const tdata = PARROT_TASK(current_task);
Modified: branches/gsoc_threads/t/pmc/task_primes.t
==============================================================================
--- branches/gsoc_threads/t/pmc/task_primes.t Mon Aug 30 22:56:28 2010 (r48728)
+++ branches/gsoc_threads/t/pmc/task_primes.t Mon Aug 30 23:05:26 2010 (r48729)
@@ -21,7 +21,7 @@
set_global 'test_task', tt
plan(8)
-
+
nt = make_checker()
$I0 = 2
@@ -80,7 +80,7 @@
cp = get_global 'check_prime'
ct = interpinfo .INTERPINFO_CURRENT_TASK
-
+
$P0 = new 'Hash'
$P0['code'] = cp
$P0['data'] = ct
@@ -94,11 +94,11 @@
.param pmc pt
.local pmc nt, tt, M
.local int N, x
-
+
tt = get_global 'test_task'
-
+
N = 0
-
+
next_msg:
M = receive
x = M
Modified: branches/gsoc_threads/t/src/threads_io.t
==============================================================================
--- branches/gsoc_threads/t/src/threads_io.t Mon Aug 30 22:56:28 2010 (r48728)
+++ branches/gsoc_threads/t/src/threads_io.t Mon Aug 30 23:05:26 2010 (r48729)
@@ -26,7 +26,7 @@
spinsub = get_global 'spin'
spintask = new 'Task', spinsub
schedule spintask
-
+
pass
say "ok 2 - main task sleeping"
@@ -41,7 +41,7 @@
stdin = getstdin
$P0 = stdin.'readline'()
-
+
$S0 = $P0
if $S0 == "grumblecake\n" goto good
say "not ok 3"
More information about the parrot-commits
mailing list