Cool, thanks!
On Thu, Dec 5, 2019, 4:11 PM Matthew Flatt wrote:
> At Thu, 5 Dec 2019 14:26:17 -0500, David Storrs wrote:
> > My understanding is that parameters are copied between threads, but I'm
> not
> > sure how this interacts with things like file ports, network connections,
> > etc.
At Thu, 5 Dec 2019 14:26:17 -0500, David Storrs wrote:
> My understanding is that parameters are copied between threads, but I'm not
> sure how this interacts with things like file ports, network connections,
> etc. Would the following code be problematic?
>
>
> (define conn (make-parameter))
>
My understanding is that parameters are copied between threads, but I'm not
sure how this interacts with things like file ports, network connections,
etc. Would the following code be problematic?
(define conn (make-parameter))
(define s (udp-open-socket))
(udp-bind! s #f 12345)
(conn s)
3 matches
Mail list logo