The below program segfaults the expander, but not the compiler (tested
with git HEAD):
[samth@punge:~/sw/plt/collects/tests/racket/benchmarks/shootout (master) plt] r
Welcome to Racket v5.1.3.9.
- (define x '(module m racket
(require racket/require)
(require (filtered-in (lambda (n)
At Tue, 20 Sep 2011 00:56:01 -0400, Guillaume Marceau wrote:
When I was doing it earlier, I was skipping the 'raco setup -D' step.
I was under the impression that the 'raco link' operation updated the
necessary info-domain/compiled/cache.rktd files automatically. When I
add or remove a
Fix pushed.
At Tue, 20 Sep 2011 11:04:46 -0400, Sam Tobin-Hochstadt wrote:
The below program segfaults the expander, but not the compiler (tested
with git HEAD):
[samth@punge:~/sw/plt/collects/tests/racket/benchmarks/shootout (master) plt]
r
Welcome to Racket v5.1.3.9.
- (define x
It looks like you've done the heavy lifting of creating primitives that can be
used to synchronize between OS threads. Is there any way to use place channels
to interact between the main Racket thread and an OS thread spawned by an audio
library? I don't see any documentation that provides a
The attached program works fine, and if compiled, it works fine with
small inputs:
[samth@punge] r tst.rkt 40 /dev/null
[samth@punge] r tst.rkt 4000 /dev/null
[samth@punge] raco make tst.rkt
[samth@punge] r tst.rkt 40 /dev/null
But with big inputs, when compiled, it fails:
[samth@punge] r
Are the unsafe operations ever misapplied?
Robby
On Tue, Sep 20, 2011 at 4:27 PM, Sam Tobin-Hochstadt sa...@ccs.neu.edu wrote:
The attached program works fine, and if compiled, it works fine with
small inputs:
[samth@punge] r tst.rkt 40 /dev/null
[samth@punge] r tst.rkt 4000 /dev/null
Here's a rather smaller version, with the same error:
#lang racket/base
(require racket/future racket/flonum racket/fixnum
racket/cmdline)
(define N (command-line #:args (n) (string-number n)))
(define (M Ci)
(let loop ([Zr 0.0])
(fl+ 0. Ci)
(loop 0.0)))
(for ([y N])
Fix pushed.
At Tue, 20 Sep 2011 17:57:01 -0400, Sam Tobin-Hochstadt wrote:
Here's a rather smaller version, with the same error:
#lang racket/base
(require racket/future racket/flonum racket/fixnum
racket/cmdline)
(define N (command-line #:args (n) (string-number n)))
Place channels only work between places (os threads spawned using the
`place' primitives).
Place channels can't be used with an OS thread spawned by an arbitrary C
library.
but
src/racket/src/mzrt.c contains synchronization operations for use
between OS threads.
Place channels are built on
9 matches
Mail list logo