Changeset 8c1285 in git for Singular


Ignore:
Timestamp:
Dec 3, 2013, 5:28:49 PM (10 years ago)
Author:
Andreas Steenpass <steenpass@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
d9adbee8173394dd9d843f4877ed9c3d815c95ce
Parents:
0635bc411ac462405c07e7da31bb0ddfe34b1f34
git-author:
Andreas Steenpass <steenpass@mathematik.uni-kl.de>2013-12-03 17:28:49+01:00
git-committer:
Andreas Steenpass <steenpass@mathematik.uni-kl.de>2013-12-03 23:03:32+01:00
Message:
chg: do not initialize semaphore 0 in kernel
(cherry picked from commit 8f25d6cb199cf806699eae7bccad6164df0ca21f)

Signed-off-by: Andreas Steenpass <steenpass@mathematik.uni-kl.de>

Conflicts:
	Singular/tesths.cc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/tesths.cc

    r0635bc4 r8c1285  
    4949#include <time.h>
    5050#include <errno.h>
    51 #ifdef HAVE_SIMPLEIPC
    52 #include <Singular/links/simpleipc.h>
    53 #endif
    54 
    55 
    56 
    5751
    5852
     
    127121    if (optc == 'h') exit(0);
    128122  }
    129 
    130 // semaphore0: CPUs --------------------------------------------------
    131 #ifdef HAVE_SIMPLEIPC
    132   feOptIndex cpu_opt = feGetOptIndex("cpus");
    133   int cpus = (int)(long)feOptValue(FE_OPT_CPUS);
    134   sipc_semaphore_init(0, cpus-1);
    135 #endif
    136123
    137124  /* say hello */
Note: See TracChangeset for help on using the changeset viewer.