On Apr 18, 2:35 am, pang <pablo.ang...@uam.es> wrote:
> > sudo rm -rf /dev/shm && sudo ln -s /run/shm /dev/shm
>
> It really looked promising, but unfortunately, it didn't work: is a reboot
> necessary?

I also used the following little program to check if semaphores got
on:

#include <unistd.h>
#include <fcntl.h>
#include <stdio.h>
#include <semaphore.h>
#include <sys/stat.h>

int main(void) {
  sem_t *a = sem_open("/autoconf", O_CREAT, S_IRUSR|S_IWUSR, 0);
  if (a == SEM_FAILED) {
    perror("sem_open");
    return 1;
  }
  printf("All OK!");
  sem_close(a);
  sem_unlink("/autoconf");
  return 0;
}


In my lxc case it certainly was not a Python issue.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to