Re: How to use Linux message queues?

2014-11-15 Thread Gary Willoughby via Digitalmars-d-learn
On Saturday, 15 November 2014 at 00:33:02 UTC, Neven wrote: On Friday, 14 November 2014 at 16:45:45 UTC, Sean Kelly wrote: Sounds like a module that should be in core.sys.linux. Care to submit a pull request? Ok, I've tried to make a module, though since I'm a D beginner (also a student who

Re: How to use Linux message queues?

2014-11-15 Thread Gary Willoughby via Digitalmars-d-learn
On Saturday, 15 November 2014 at 00:33:02 UTC, Neven wrote: Ok, I've tried to make a module, though since I'm a D beginner (also a student who fiddles with D for Operating system classes) Incidentally, where are you studying? It would be nice to know where D is being taught.

Re: How to use Linux message queues?

2014-11-15 Thread Neven via Digitalmars-d-learn
On Saturday, 15 November 2014 at 12:04:45 UTC, Gary Willoughby wrote: On Saturday, 15 November 2014 at 00:33:02 UTC, Neven wrote: Ok, I've tried to make a module, though since I'm a D beginner (also a student who fiddles with D for Operating system classes) Incidentally, where are you

How to use Linux message queues?

2014-11-14 Thread Neven via Digitalmars-d-learn
I've tried importing core.sys.posix.sys.msg however I get the error that is doesn't exist. I sort of solved the problem with: extern (C) int msgget ( key_t key, int msgflg ); extern (C) int msgsnd ( int msqid, msgbuf *msgp, int msgsz, int msgflg ); struct msgbuf { long mtype; /*

Re: How to use Linux message queues?

2014-11-14 Thread Sean Kelly via Digitalmars-d-learn
Sounds like a module that should be in core.sys.linux. Care to submit a pull request?

Re: How to use Linux message queues?

2014-11-14 Thread Gary Willoughby via Digitalmars-d-learn
On Friday, 14 November 2014 at 16:45:45 UTC, Sean Kelly wrote: Sounds like a module that should be in core.sys.linux. Care to submit a pull request? Yes, these are usually added when someone requires them. Neven, if you're able, submitting a pull request to druntime of the complete module

Re: How to use Linux message queues?

2014-11-14 Thread Neven via Digitalmars-d-learn
On Friday, 14 November 2014 at 16:45:45 UTC, Sean Kelly wrote: Sounds like a module that should be in core.sys.linux. Care to submit a pull request? Ok, I've tried to make a module, though since I'm a D beginner (also a student who fiddles with D for Operating system classes) could you