Search found 2 matches
- Mon Jun 09, 2014 12:18 am
- Forum: Common Lisp
- Topic: Bordeaux Threads Questions
- Replies: 13
- Views: 28348
Re: Bordeaux Threads Questions
A couple more questions (please see code below): ;; is this a correct way for this? (defun test() ;; Is the general pattern to use a defun? Couldn't you use the lambda body in the thunk in make-thread just as well? (bt:with-lock-held (lock) (do-stuff) (do-more-stuff) (bt:condition-wait cv lock))) ;...
- Sat Nov 26, 2011 10:40 pm
- Forum: Common Lisp
- Topic: Don't understand (when = (...))
- Replies: 2
- Views: 4990
Re: Don't understand (when = (...))
What you show seems to be coming from the macro expansion of DO* rather than DO.
The end-test-form of your DO* is most probably at the wrong nesting level, just add a pair of parentheses ( ) around it.
The end-test-form of your DO* is most probably at the wrong nesting level, just add a pair of parentheses ( ) around it.