apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fua...@apache.org
Subject svn commit: r1611061 - in /apr/apr/branches: 1.3.x/threadproc/netware/thread.c 1.4.x/threadproc/netware/thread.c 1.5.x/threadproc/netware/thread.c 1.6.x/threadproc/netware/thread.c
Date Wed, 16 Jul 2014 15:49:04 GMT
Author: fuankg
Date: Wed Jul 16 15:49:03 2014
New Revision: 1611061

URL: http://svn.apache.org/r1611061
Log:
Fixed type; fixed comments.

Modified:
    apr/apr/branches/1.3.x/threadproc/netware/thread.c
    apr/apr/branches/1.4.x/threadproc/netware/thread.c
    apr/apr/branches/1.5.x/threadproc/netware/thread.c
    apr/apr/branches/1.6.x/threadproc/netware/thread.c

Modified: apr/apr/branches/1.3.x/threadproc/netware/thread.c
URL: http://svn.apache.org/viewvc/apr/apr/branches/1.3.x/threadproc/netware/thread.c?rev=1611061&r1=1611060&r2=1611061&view=diff
==============================================================================
--- apr/apr/branches/1.3.x/threadproc/netware/thread.c (original)
+++ apr/apr/branches/1.3.x/threadproc/netware/thread.c Wed Jul 16 15:49:03 2014
@@ -77,7 +77,7 @@ apr_status_t apr_thread_create(apr_threa
                                apr_pool_t *pool)
 {
     apr_status_t stat;
-    long flags = NX_THR_BIND_CONTEXT;
+    unsigned long flags = NX_THR_BIND_CONTEXT;
     char threadName[NX_MAX_OBJECT_NAME_LEN+1];
     size_t stack_size = APR_DEFAULT_STACK_SIZE;
 
@@ -120,8 +120,8 @@ apr_status_t apr_thread_create(apr_threa
         /* void(*start_routine)(void *arg) */ (void (*)(void *)) dummy_worker,
         /* void *arg */                       (*new),
         /* int priority */                    NX_PRIO_MED,
-        /* NXSize_t stackSize */              stack_size,
-        /* long flags */                      NX_CTX_NORMAL,
+        /* size_t stackSize */                stack_size,
+        /* unsigned long flags */             NX_CTX_NORMAL,
         /* int *error */                      &stat);
 
     stat = NXContextSetName(
@@ -130,7 +130,7 @@ apr_status_t apr_thread_create(apr_threa
 
     stat = NXThreadCreate(
         /* NXContext_t context */     (*new)->ctx,
-        /* long flags */              flags,
+        /* unsigned long flags */     flags,
         /* NXThreadId_t *thread_id */ &(*new)->td);
 
     if (stat == 0)

Modified: apr/apr/branches/1.4.x/threadproc/netware/thread.c
URL: http://svn.apache.org/viewvc/apr/apr/branches/1.4.x/threadproc/netware/thread.c?rev=1611061&r1=1611060&r2=1611061&view=diff
==============================================================================
--- apr/apr/branches/1.4.x/threadproc/netware/thread.c (original)
+++ apr/apr/branches/1.4.x/threadproc/netware/thread.c Wed Jul 16 15:49:03 2014
@@ -77,7 +77,7 @@ apr_status_t apr_thread_create(apr_threa
                                apr_pool_t *pool)
 {
     apr_status_t stat;
-    long flags = NX_THR_BIND_CONTEXT;
+    unsigned long flags = NX_THR_BIND_CONTEXT;
     char threadName[NX_MAX_OBJECT_NAME_LEN+1];
     size_t stack_size = APR_DEFAULT_STACK_SIZE;
 
@@ -120,8 +120,8 @@ apr_status_t apr_thread_create(apr_threa
         /* void(*start_routine)(void *arg) */ (void (*)(void *)) dummy_worker,
         /* void *arg */                       (*new),
         /* int priority */                    NX_PRIO_MED,
-        /* NXSize_t stackSize */              stack_size,
-        /* long flags */                      NX_CTX_NORMAL,
+        /* size_t stackSize */                stack_size,
+        /* unsigned long flags */             NX_CTX_NORMAL,
         /* int *error */                      &stat);
 
     stat = NXContextSetName(
@@ -130,7 +130,7 @@ apr_status_t apr_thread_create(apr_threa
 
     stat = NXThreadCreate(
         /* NXContext_t context */     (*new)->ctx,
-        /* long flags */              flags,
+        /* unsigned long flags */     flags,
         /* NXThreadId_t *thread_id */ &(*new)->td);
 
     if (stat == 0)

Modified: apr/apr/branches/1.5.x/threadproc/netware/thread.c
URL: http://svn.apache.org/viewvc/apr/apr/branches/1.5.x/threadproc/netware/thread.c?rev=1611061&r1=1611060&r2=1611061&view=diff
==============================================================================
--- apr/apr/branches/1.5.x/threadproc/netware/thread.c (original)
+++ apr/apr/branches/1.5.x/threadproc/netware/thread.c Wed Jul 16 15:49:03 2014
@@ -77,7 +77,7 @@ apr_status_t apr_thread_create(apr_threa
                                apr_pool_t *pool)
 {
     apr_status_t stat;
-    long flags = NX_THR_BIND_CONTEXT;
+    unsigned long flags = NX_THR_BIND_CONTEXT;
     char threadName[NX_MAX_OBJECT_NAME_LEN+1];
     size_t stack_size = APR_DEFAULT_STACK_SIZE;
 
@@ -120,8 +120,8 @@ apr_status_t apr_thread_create(apr_threa
         /* void(*start_routine)(void *arg) */ (void (*)(void *)) dummy_worker,
         /* void *arg */                       (*new),
         /* int priority */                    NX_PRIO_MED,
-        /* NXSize_t stackSize */              stack_size,
-        /* long flags */                      NX_CTX_NORMAL,
+        /* size_t stackSize */                stack_size,
+        /* unsigned long flags */             NX_CTX_NORMAL,
         /* int *error */                      &stat);
 
     stat = NXContextSetName(
@@ -130,7 +130,7 @@ apr_status_t apr_thread_create(apr_threa
 
     stat = NXThreadCreate(
         /* NXContext_t context */     (*new)->ctx,
-        /* long flags */              flags,
+        /* unsigned long flags */     flags,
         /* NXThreadId_t *thread_id */ &(*new)->td);
 
     if (stat == 0)

Modified: apr/apr/branches/1.6.x/threadproc/netware/thread.c
URL: http://svn.apache.org/viewvc/apr/apr/branches/1.6.x/threadproc/netware/thread.c?rev=1611061&r1=1611060&r2=1611061&view=diff
==============================================================================
--- apr/apr/branches/1.6.x/threadproc/netware/thread.c (original)
+++ apr/apr/branches/1.6.x/threadproc/netware/thread.c Wed Jul 16 15:49:03 2014
@@ -77,7 +77,7 @@ apr_status_t apr_thread_create(apr_threa
                                apr_pool_t *pool)
 {
     apr_status_t stat;
-    long flags = NX_THR_BIND_CONTEXT;
+    unsigned long flags = NX_THR_BIND_CONTEXT;
     char threadName[NX_MAX_OBJECT_NAME_LEN+1];
     size_t stack_size = APR_DEFAULT_STACK_SIZE;
 
@@ -120,8 +120,8 @@ apr_status_t apr_thread_create(apr_threa
         /* void(*start_routine)(void *arg) */ (void (*)(void *)) dummy_worker,
         /* void *arg */                       (*new),
         /* int priority */                    NX_PRIO_MED,
-        /* NXSize_t stackSize */              stack_size,
-        /* long flags */                      NX_CTX_NORMAL,
+        /* size_t stackSize */                stack_size,
+        /* unsigned long flags */             NX_CTX_NORMAL,
         /* int *error */                      &stat);
 
     stat = NXContextSetName(
@@ -130,7 +130,7 @@ apr_status_t apr_thread_create(apr_threa
 
     stat = NXThreadCreate(
         /* NXContext_t context */     (*new)->ctx,
-        /* long flags */              flags,
+        /* unsigned long flags */     flags,
         /* NXThreadId_t *thread_id */ &(*new)->td);
 
     if (stat == 0)



Mime
View raw message