thread safe?

9 views
Skip to first unread message

William Stein

unread,
Dec 9, 2010, 12:48:53 AM12/9/10
to dr...@math.mit.edu, saged...@googlegroups.com, ps...@googlegroups.com
Hi Drew,

I've got a basic Cython wrapping of smalljac going now for psage.
However, I'm immediately tempted to want to make it seamlessly use
multiple threads, since so many of my computers have tons of cores
these days. I'm curious if smalljac is supposed to be "thread safe or
not", so I know if I can use threads, or have to use fork (and
separate processes). E.g., I'm talking about when calling
smalljac_Lpolys. Maybe I just have to make sure the input
smalljac_Qcurve_t's are distinct?

-- William

--
William Stein
Professor of Mathematics
University of Washington
http://wstein.org

Reply all
Reply to author
Forward
0 new messages