in reply to Re: Capturing XS printf output with a tied filehandle (lots)
in thread Capturing XS printf output with a tied filehandle
Yeah, providing functions say() and sayf() for Inline and/or XS users are probably the simplest. Not entirely trivial, but it shouldn't be much more difficult than instructing the user to retrieve a function pointer from a Perl stash and then call it with their args.
As for your ideas about using threads, yes, that would certainly make life a lot easier. However, Prima is not (yet?) threadsafe. I really like Prima's internals, though, and I may help Dmitry work on it if he's interested.
Thanks!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Capturing XS printf output with a tied filehandle (lots)
by Anonymous Monk on Feb 18, 2012 at 00:26 UTC | |
by run4flat (Initiate) on Feb 18, 2012 at 03:47 UTC | |
by Anonymous Monk on Feb 18, 2012 at 08:00 UTC |