-
Notifications
You must be signed in to change notification settings - Fork 564
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Thread koans: possible replacement for SEMAPHORE-COUNT #112
Comments
Nope, purely illustrative. |
I've posted sionescu/bordeaux-threads#70 - let's see how it goes. |
Just to not the code alluded to is: (defun signal-semaphore (semaphore) (defun wait-on-semaphore (semaphore) (defun semaphore-name (semaphore) ;; Incrementing a bordeaux-threads semaphore is an atomic operation (defun semaphore-increments-g () (define-test test-increment-semaphore It's probably useful to find a semaphore count for purely testing the semaphore code, |
What do you mean, testing? You mean no tests for threads in CCL the implementation? I cannot see them in https://github.com/Clozure/ccl-tests/ either. |
Thats what I mean. |
Forked from Clozure/ccl#308
@Slids It does make sense. Were the koans doing The Right Thing™, then, utilizing a
semaphore-count
function that is effectively useless in real-life scenarios? Or was this function good if used only for illustrative purposes?The text was updated successfully, but these errors were encountered: