Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
mratsim
/
weave
Public
Notifications
You must be signed in to change notification settings
Fork
22
Star
585
Code
Issues
43
Pull requests
1
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Model Checked - MPSC queue + Rework State Machines
- #128
#128
Merged
mratsim
merged 14 commits into
master
mratsim/weave:master
from
model-checked-mpsc-queue
mratsim/weave:model-checked-mpsc-queue
Copy head branch name to clipboard
May 9, 2020
Conversation
Commits
14
(14)
Checks
Files changed
Merged
Model Checked - MPSC queue + Rework State Machines
#128
mratsim
merged 14 commits into
master
mratsim/weave:master
from
model-checked-mpsc-queue
mratsim/weave:model-checked-mpsc-queue
Copy head branch name to clipboard
Commits
Commits on May 9, 2020
model checking - 1st try to fix MPSC queue (the model checker crashes with not enough memory :/)
mratsim
committed
1f70d6a
View commit details
Copy full SHA for 1f70d6a
Browse repository at this point
Give the thread the opportunity to not deadlock on sleep on Mac/with Clang
mratsim
committed
fa881e8
View commit details
Copy full SHA for fa881e8
Browse repository at this point
whoopsie
mratsim
committed
bd762f9
View commit details
Copy full SHA for bd762f9
Browse repository at this point
Add impl of Weave MPSC channel in C++ for CDSChecker model checking + comment out fences
mratsim
committed
ce8dfe0
View commit details
Copy full SHA for ce8dfe0
Browse repository at this point
Comment out GEMM tests for syncRoot + Pledges: https://github.com/mratsim/weave/issues/97
mratsim
committed
da5ae0b
View commit details
Copy full SHA for da5ae0b
Browse repository at this point
don't use sleep, it's can deadlock in the CI ...
mratsim
committed
4bb7916
View commit details
Copy full SHA for 4bb7916
Browse repository at this point
Try get epoch time to avoid mac bugs
mratsim
committed
7b205b7
View commit details
Copy full SHA for 7b205b7
Browse repository at this point
use `getTime` and hope that it's properly implemented on Mac
mratsim
committed
5673eec
View commit details
Copy full SHA for 5673eec
Browse repository at this point
State-machine, return to CheckTask to avoid leaving task spawning multitasks in queue (followup https://github.com/mratsim/weave/pull/121)
mratsim
committed
c31e45f
View commit details
Copy full SHA for c31e45f
Browse repository at this point
Don't spinlock for testing, deadlocks ARM and OSX
mratsim
committed
82265ad
View commit details
Copy full SHA for 82265ad
Browse repository at this point
Could it be non-mono clock jitter?
mratsim
committed
7c760dd
View commit details
Copy full SHA for 7c760dd
Browse repository at this point
Add some log for MacOS debug
mratsim
committed
cd116d0
View commit details
Copy full SHA for cd116d0
Browse repository at this point
Race condition between spawning the thread and entering the spinlock in the `isReady` test
mratsim
committed
efac680
View commit details
Copy full SHA for efac680
Browse repository at this point
a,d obviously I mess up the function call
mratsim
committed
ea59771
View commit details
Copy full SHA for ea59771
Browse repository at this point
You can’t perform that action at this time.