Re: Viengoos IPC

James Collier <[email protected]>
Newsgroups gmane.os.hurd.l4
Message-ID <1246759542.14930.15.camel@jcollier-work-laptop>
Apologies, I forgot to post the output from Viengoos:

<output>
hieronymus (811000):main:316:(0x471c72): hello: 0s delayed start,
starting in -6 s
hieronymus (811000):main:323:(0x471c72): Starting hello
In cmain
in crt0 (6e3000):storage_init:968:(0x4105e8): 3 folios, 273 objects
used, 115 free objects
viengoos (0):ager:615:(0xffffffff80417eae): 5: 106 mb of 109 mb (97%)
free
  laundry: 0 bytes; 1168 kb active (0 bytes new); 1592 kb inactive (212
kb new), 972 kb shared unmapped
: 3000-7dfff
: 7f000-7ffff
: 200000-3fffff
: 4aa000-6a9fff
: 700000-700fff
: 702000-7fffffffffffffff

/**********/
Running messenger...
viengoos (0):thread_init:152:(0xffffffff80410c99): Creating thread 4cc
/**********/

viengoos (0):ager:615:(0xffffffff80417eae): 6: 106 mb of 109 mb (97%)
free
  laundry: 0 bytes; 1728 kb active (0 bytes new); 1500 kb inactive (108
kb new), 0 bytes shared unmapped
viengoos (0):ager:615:(0xffffffff80417eae): 7: 106 mb of 109 mb (97%)
free
  laundry: 0 bytes; 1508 kb active (0 bytes new); 1768 kb inactive (88
kb new), 0 bytes shared unmapped
viengoos (0):ager:615:(0xffffffff80417eae): 8: 106 mb of 109 mb (97%)
free
  laundry: 0 bytes; 188 kb active (0 bytes new); 3088 kb inactive (444
kb new), 0 bytes shared unmapped
viengoos (0):ager:615:(0xffffffff80417eae): 9: 106 mb of 109 mb (97%)
free
  laundry: 0 bytes; 0 bytes active (0 bytes new); 3276 kb inactive (0
bytes new), 0 bytes shared unmapped
viengoos (0):ager:615:(0xffffffff80417eae): 10: 106 mb of 109 mb (97%)
free
  laundry: 0 bytes; 0 bytes active (0 bytes new); 3276 kb inactive (0
bytes new), 0 bytes shared unmapped
</output>

On Sun, 2009-07-05 at 11:08 +1000, James Collier wrote:
> Hello again,
> I've continued playing with IPC on Viengoos.
> I've think had some success but I'd run up against what feels like a
> brick wall now.
> I have a child thread sending a message to the parent (main) thread.
> I start the child thread with pthread_create, except it apparently never
> starts.
> 
> I never see "running second thread" printed.
> Following is the code for the parent (main) thread:
> 
> James C (jColl)
> 
-- 
James Collier <[email protected]>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.