Perl 6 - the future is here, just unevenly distributed

IRC log for #perl11, 2013-07-31

| Channels | #perl11 index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
01:31 rurban1 joined #perl11
03:47 rurban1 joined #perl11
04:52 rurban1 joined #perl11
05:52 rurban1 joined #perl11
05:58 diakopter hi
06:52 rurban1 joined #perl11
07:53 rurban1 joined #perl11
08:53 rurban1 joined #perl11
09:53 rurban1 joined #perl11
10:54 rurban1 joined #perl11
11:54 rurban1 joined #perl11
12:54 rurban1 joined #perl11
13:29 rurban1 joined #perl11
13:33 bluescreen joined #perl11
14:08 bluescreen joined #perl11
16:20 diakopter rurban: hi
17:43 rurban hi
17:44 diakopter rurban: hi; could you help me write the pir for this threads test case? I don't know enough pir
17:44 rurban which threads test case?
17:44 diakopter I haven't described it yet.
17:44 rurban we don't have a semaphore library yet
17:44 diakopter test:
17:45 rurban the threads GC test was deleted lately
17:45 rurban examples/threads/alloc_test.pir is in 5.0.0
17:47 rurban the best threads test is examples/threads/chameneos.pir
17:49 diakopter main thread enters a sub. then creates pmcarray A, then puts Integer pmc B in A[0]. Passes A to a task C, then sleeps 2 seconds then forces a GC by allocating a ton of objects. Task C creates pmcarray D, then takes A[0] (which is B) and puts it in D[0], and sets A[0] to null/undef.. then sleeps 5 seconds and then tries to access B
17:51 rurban that's the threads leak test
17:52 rurban we need to discuss that at #parrot
17:52 diakopter oh; when was that test written
17:53 rurban not yet. you'l write that :) we need a ticket for it
17:54 diakopter based on my reading of the GC code, it won't be able to reach C's reference to B, whether in a local register or in D[0]
17:54 diakopter main thread's GC, I mean
19:39 rurban1 joined #perl11

| Channels | #perl11 index | Today | | Search | Google Search | Plain-Text | summary