You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by fu...@apache.org on 2014/07/16 17:27:38 UTC
svn commit: r1611050 - /apr/apr/trunk/threadproc/netware/thread.c
Author: fuankg
Date: Wed Jul 16 15:27:38 2014
New Revision: 1611050
URL: http://svn.apache.org/r1611050
Log:
Fixed indent - no code change.
Modified:
apr/apr/trunk/threadproc/netware/thread.c
Modified: apr/apr/trunk/threadproc/netware/thread.c
URL: http://svn.apache.org/viewvc/apr/apr/trunk/threadproc/netware/thread.c?rev=1611050&r1=1611049&r2=1611050&view=diff
==============================================================================
--- apr/apr/trunk/threadproc/netware/thread.c (original)
+++ apr/apr/trunk/threadproc/netware/thread.c Wed Jul 16 15:27:38 2014
@@ -122,22 +122,21 @@ apr_status_t apr_thread_create(apr_threa
}
(*new)->ctx = NXContextAlloc(
- /* void(*start_routine)(void *arg)*/(void (*)(void *)) dummy_worker,
- /* void *arg */ (*new),
- /* int priority */ NX_PRIO_MED,
- /* size_t stackSize */ stack_size,
- /* unsigned long flags */ NX_CTX_NORMAL,
- /* int *error */ &stat);
-
+ /* void(*start_routine)(void *arg) */ (void (*)(void *)) dummy_worker,
+ /* void *arg */ (*new),
+ /* int priority */ NX_PRIO_MED,
+ /* size_t stackSize */ stack_size,
+ /* unsigned long flags */ NX_CTX_NORMAL,
+ /* int *error */ &stat);
stat = NXContextSetName(
- /* NXContext_t ctx */ (*new)->ctx,
- /* const char *name */ threadName);
+ /* NXContext_t ctx */ (*new)->ctx,
+ /* const char *name */ threadName);
stat = NXThreadCreate(
- /* NXContext_t context */ (*new)->ctx,
- /* unsigned long flags */ flags,
- /* NXThreadId_t *thread_id */ &(*new)->td);
+ /* NXContext_t context */ (*new)->ctx,
+ /* unsigned long flags */ flags,
+ /* NXThreadId_t *thread_id */ &(*new)->td);
if (stat == 0)
return APR_SUCCESS;