Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kernel isn't configured for semaphores #162

Closed
alandao opened this issue Apr 12, 2016 · 3 comments
Closed

Kernel isn't configured for semaphores #162

alandao opened this issue Apr 12, 2016 · 3 comments
Labels

Comments

@alandao
Copy link

alandao commented Apr 12, 2016

I tried running my toy program which uses semaphores and it gave back an invalid argument error which is unusual since my Ubuntu VM runs fine. When running ipcs, Bash states:

Kernel not configured for shared memory

Kernel not configured for semaphores

Kernel not configured for message queues

I'm guessing this part of the Bash on Windows system is incomplete?

@sunilmut
Copy link
Member

@alandao - Your understanding is correct. Currently, support for these features is very limited to none. We will be tracking\prioritizing which features to light up next by looking at the feedback provided at the wpdev portal. So, please do provide your feedback there as well:

https://wpdev.uservoice.com/forums/266908-command-prompt-console-bash-on-ubuntu-on-windo

@patryk9200
Copy link

#16 is about the same problem.

@benhillis
Copy link
Member

System V shared memory and semaphore support is making its way to insider builds. Closing this out as this issue has bene open for a very long time.

root@BENHILL-X1:/mnt/c/Users/benhill# ipcs

------ Message Queues --------
key        msqid      owner      perms      used-bytes   messages

------ Shared Memory Segments --------
key        shmid      owner      perms      bytes      nattch     status

------ Semaphore Arrays --------
key        semid      owner      perms      nsems

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants