kernel: proper type for static shared variables. #75

Merged
sb10q merged 1 commits from pca006132/artiq-zynq:safe into master 2020-07-24 18:00:09 +08:00
  • Changed the KERNEL_CHANNEL_* to Mutex<T> with proper type, removing the
    need for unsafe.
  • Exposed a const pointer to KernelImage, with UnsafeCell holding
    the library field for unbind with interior mutability.
* Changed the `KERNEL_CHANNEL_*` to `Mutex<T>` with proper type, removing the need for unsafe. * Exposed a const pointer to `KernelImage`, with `UnsafeCell` holding the `library` field for `unbind` with interior mutability.
sb10q closed this pull request 2020-07-24 18:00:09 +08:00
Sign in to join this conversation.
No reviewers
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: M-Labs/artiq-zynq#75
There is no content yet.