Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

CL problem

Name: Anonymous 2010-10-12 16:47

Hey dudettes

I'm kind of stuck in my current development. Does anyone know of a library of atomic operation primitives for Common Lisp?

My boss asked me to convert an old tool, based on CL, to be multicore, but I can't seem to find any good mention of synchronization primitives in any official sources

Name: Anonymous 2010-10-12 17:05

OpenCL?

Name: Anonymous 2010-10-12 17:14

Rewrite it in a sane language, like Scheme.

Name: Anonymous 2010-10-12 17:27

>>1
Your implementation's manual really doesn't list them?

Name: Anonymous 2010-10-12 17:48

>>1
Each implementation usually has their own atomic operation implementations, as well as threading/locks/sync stuff. There's a few portable threading libraries which abstract over implementation specific stuff. One example of such a library is bordeaux-threads.

Name: >>5 2010-10-12 17:59

portable-threads is another such library.
It should also be noted that in some cases, some implementations (like SBCL) may offer specialized optimizations that you may want to use (for example: atomic incf or more control over dynamic-extent), so if you don't mind adding some reader conditionals, you may be able to achieve better performance in those implementations.

Name: Anonymous 2010-10-12 20:41

Use GMP

Name: Anonymous 2010-10-13 11:54

Thanks /prog/

Name: Anonymous 2010-11-14 21:01

Name: Anonymous 2010-12-17 1:36

Are you GAY?
Are you a NIGGER?
Are you a GAY NIGGER?

If you answered "Yes" to all of the above questions, then GNAA (GAY NIGGER ASSOCIATION OF AMERICA) might be exactly what you've been looking for!

Don't change these.
Name: Email:
Entire Thread Thread List