Skip to content

Does not work with CCL #5

@sdilts

Description

@sdilts

Looking at the code, CCL is presumably supported, but it fails to compile:

Read error between positions 2119 and 2671 in /home/sdilts/Programs/mahogany/dependencies/cl-freelock/src/atomics.lisp.
> Error: Reader error: No external symbol named "HARD-MEMORY-BARRIER" in package #<Package "CCL"> .
> While executing: CCL::%PARSE-TOKEN, in process listener(1).
> Type :GO to continue, :POP to abort, :R for a list of available restarts.
> If continued: Create and use the internal symbol CCL::HARD-MEMORY-BARRIER
> Type :? for other options.
1 > :POP

When checking if ccl::hard-memory-barrier is just an internal symbol, it doesn't work as a function:

? (ccl::hard-memory-barrier)
> Error: Undefined function CCL::HARD-MEMORY-BARRIER called with arguments () .
> While executing: CCL::TOPLEVEL-EVAL, in process listener(1).
> Type :GO to continue, :POP to abort, :R for a list of available restarts.
> If continued: Retry applying CCL::HARD-MEMORY-BARRIER to NIL.
> Type :? for other options.
1 >

Digging into more of the code, the behavior of the CAS operation that is being used doesn't match what this project's doc string says it does, so the implementation probably won't work anyways.

Pinned by ItsMeForLua

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions