On Mon, 2012-03-26 at 13:02 +0900, Kiyoshi Mizumaru wrote:
I think it's good idea to solve this without defining a new process class. But in b03b582, make-lock, with-lock-held and current-thread are used prior to be defined, and lead to compile error.
Moving the "Thread creation" section solved this and works as expected: https://bitbucket.org/kmizumar/bordeaux-threads/changeset/02cc8c9b4ce7
Ok, I committed the move
I'm afraid that I should have mentioned it in previous mail that incorrect arguments are passed to make-lock function in b03b582.
(defvar *thread-join-lock* (make-lock :name "Bordeaux threads join lock"))
The line should be
(defvar *thread-join-lock* (make-lock "Bordeaux threads join lock*)) -- Kiyoshi Mizumaru kiyoshi.mizumaru@gmail.com
On Mon, Mar 26, 2012 at 11:38 PM, Stelian Ionescu sionescu@cddr.org wrote:
On Mon, 2012-03-26 at 13:02 +0900, Kiyoshi Mizumaru wrote:
I think it's good idea to solve this without defining a new process class. But in b03b582, make-lock, with-lock-held and current-thread are used prior to be defined, and lead to compile error.
Moving the "Thread creation" section solved this and works as expected: https://bitbucket.org/kmizumar/bordeaux-threads/changeset/02cc8c9b4ce7
Ok, I committed the move
-- Stelian Ionescu a.k.a. fe[nl]ix Quidquid latine dictum sit, altum videtur. http://common-lisp.net/project/iolib
Bordeaux-threads-devel mailing list Bordeaux-threads-devel@common-lisp.net http://lists.common-lisp.net/cgi-bin/mailman/listinfo/bordeaux-threads-devel
On Tue, 2012-03-27 at 02:03 +0900, Kiyoshi Mizumaru wrote:
I'm afraid that I should have mentioned it in previous mail that incorrect arguments are passed to make-lock function in b03b582.
(defvar *thread-join-lock* (make-lock :name "Bordeaux threads join lock"))
The line should be
(defvar *thread-join-lock* (make-lock "Bordeaux threads join lock*))
Ok, fixed
bordeaux-threads-devel@common-lisp.net