| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Fix cross_3d in demo.odin | Ribiveer | 37 hours | 1 | -1/+1 |
| | | | | Not a very significant or meaningful change, but it did irk me that the equation was wrong... | ||||
| * | Update `demo.odin` | gingerBill | 2026-01-30 | 1 | -1/+6 |
| | | |||||
| * | examples/demo: Set the RNG to xoshiro256 | Yawning Angel | 2025-11-29 | 1 | -0/+5 |
| | | | | | The example should run on any target, not just first class ones. | ||||
| * | remove terminate from demo | Laytan Laats | 2025-11-23 | 1 | -13/+0 |
| | | | | | | | | | | | | | | | | | | | | | | | | | This was causing deadlocks because: 1. The main thread would `thread.terminate` a running thread 2. `thread.terminate` does not mean termination happens immediately 3. The thread that was terminated would see that the main thread released `print_mutex` and acquire it 4. The worker would execute `fmt.printf` which is a cancellation point 5. Cancellation point reached, cancelled 6. Deadlock because the thread was holding `print_mutex` You would usually solve this with `pthread_cleanup_push` that would release the mutex in case it is cancelled, or use `pthread_setcancelstate` to disable cancellation while the mutex is held. But the real fix is just not using forced termination and using a flag or other mechanism to indicate to the thread it should stop. `thread.terminate` shouldn't even be a thing IMO. It is way to dangerous and if somebody knows what they are doing they can use the core:sys procedures to achieve it. And we certainly shouldn't be using it in the demo as an example. | ||||
| * | Fix typos | Gabr1313 | 2025-02-14 | 1 | -3/+3 |
| | | |||||
| * | Make `-no-dynamic-literals` the default now | gingerBill | 2025-01-05 | 1 | -0/+1 |
| | | |||||
| * | Remove `#relative` types from the compiler | gingerBill | 2024-11-14 | 1 | -17/+0 |
| | | |||||
| * | Update demo.odin | Doeke Wartena | 2024-11-09 | 1 | -1/+1 |
| | | | | type: turns -> returns | ||||
| * | Fix typo in demo.odin | Fredrik Vaeng Røtnes | 2024-10-09 | 1 | -1/+1 |
| | | |||||
| * | Merge pull request #4279 from obiwan87/master | gingerBill | 2024-09-25 | 1 | -1/+1 |
| |\ | | | | | Fix compile errors | ||||
| | * | Add missing package qualifier to alloc | Antonino Simone Di Stefano | 2024-09-22 | 1 | -1/+1 |
| | | | |||||
| * | | Merge pull request #2600 from Hyrtwol/icon-for-odin-exe | Jeroen van Rijn | 2024-09-24 | 1 | -0/+75 |
| |\ \ | |/ |/| | Icon for odin.exe | ||||
| | * | odin manifest file | Thomas la Cour | 2024-08-21 | 1 | -0/+75 |
| | | | |||||
| * | | Moved all packages in core, base, vendor, tests and examples to use new #+ ↵ | Karl Zylinski | 2024-09-14 | 1 | -1/+1 |
| |/ | | | | file tag syntax. | ||||
| * | Update the `demo.odin` to use `nil` instead of `os.ERROR_NONE` | gingerBill | 2024-08-04 | 1 | -1/+1 |
| | | |||||
| * | Fix typo. | gingerBill | 2024-07-04 | 1 | -1/+1 |
| | | |||||
| * | wasi: make the demo run on wasi and run it in CI | Laytan Laats | 2024-06-29 | 1 | -0/+1 |
| | | |||||
| * | Fix loads of indentation issues with mixing spaces and tabs | gingerBill | 2024-06-29 | 1 | -1/+1 |
| | | |||||
| * | Add `bit_field` to demo.odin | gingerBill | 2024-06-29 | 1 | -0/+45 |
| | | |||||
| * | Correct `core:intrinsics` to `base:intrinsics` | gingerBill | 2024-05-13 | 1 | -1/+1 |
| | | |||||
| * | fix demo out of bounds error | Laytan | 2024-05-07 | 1 | -1/+1 |
| | | |||||
| * | Fix unseen `print` call in demo | Feoramund | 2024-04-28 | 1 | -1/+1 |
| | | |||||
| * | Core Foundation and Security vendor libraries. | Vitalii Kravchenko | 2024-04-13 | 1 | -1/+1 |
| | | |||||
| * | Fix demo docs | gingerBill | 2024-01-28 | 1 | -3/+3 |
| | | |||||
| * | Fix demo | gingerBill | 2024-01-28 | 1 | -2/+2 |
| | | |||||
| * | Enforce naming the parameters with `builtin.quaternion` to reduce confusion | gingerBill | 2024-01-05 | 1 | -3/+5 |
| | | |||||
| * | Update demo.odin | Gary Chike | 2023-12-21 | 1 | -2/+2 |
| | | | | Appears that 'to' and 'abstract' were inverted. | ||||
| * | Add os.args to demo. | Jeroen van Rijn | 2023-11-27 | 1 | -1/+7 |
| | | |||||
| * | Add `or_break` and `or_continue` constructs | gingerBill | 2023-09-30 | 1 | -71/+143 |
| | | |||||
| * | Update demo.odin to #align(N) style | gingerBill | 2023-08-15 | 1 | -1/+1 |
| | | |||||
| * | Remove `switch in` in favour of `switch _ in` | gingerBill | 2023-08-08 | 1 | -2/+2 |
| | | |||||
| * | Disallow `for in` in favour of `for _ in` | gingerBill | 2023-08-08 | 1 | -1/+1 |
| | | |||||
| * | Merge pull request #2696 from hwchen/hwchen/fix-parse-call-expr-ellipses | gingerBill | 2023-08-05 | 1 | -0/+22 |
| |\ | | | | | core:odin/parser allow args after varargs in parse_call_expr | ||||
| | * | core:odin/parser allow args after varargs in parse_call_expr | Walther Chen | 2023-08-03 | 1 | -0/+22 |
| | | | |||||
| * | | Update demo for #relative multi-pointers | gingerBill | 2023-08-05 | 1 | -6/+5 |
| |/ | |||||
| * | Add separate `-vet` flags; `-vet-using-*` flags; `//+vet` file flags | gingerBill | 2023-07-31 | 1 | -0/+1 |
| | | |||||
| * | Use positional and named arguments within the core library | gingerBill | 2023-06-21 | 1 | -2/+2 |
| | | |||||
| * | Basic enforcement of ordered named arguments/parameters for procedures | gingerBill | 2023-06-14 | 1 | -2/+2 |
| | | |||||
| * | Replace `0` with `os.ERROR_NONE` in demo.odin | Damian Tarnawski | 2023-06-11 | 1 | -1/+1 |
| | | |||||
| * | added error printing | Elusive Porpoise | 2023-05-19 | 1 | -0/+4 |
| | | |||||
| * | remove misleading example | Elusive Porpoise | 2023-05-08 | 1 | -6/+0 |
| | | |||||
| * | Revert "Use `sync.Mutex` rather than a spin lock for the threading example" | Jeroen van Rijn | 2022-08-05 | 1 | -20/+23 |
| | | | | | This reverts commit 8d1f46d837efdcebaf2e3660942a93337a230329. | ||||
| * | Use `sync.Mutex` rather than a spin lock for the threading example | gingerBill | 2022-08-05 | 1 | -23/+20 |
| | | |||||
| * | Update demo.odin | gingerBill | 2022-05-23 | 1 | -2/+4 |
| | | |||||
| * | Implement pthread_cancel. | Jeroen van Rijn | 2022-05-11 | 1 | -1/+28 |
| | | |||||
| * | change usage in demo.odin | Florian Behr | 2022-04-25 | 1 | -1/+2 |
| | | |||||
| * | Add https://github.com/odin-lang/examples | gingerBill | 2022-04-08 | 1 | -0/+11 |
| | | |||||
| * | Update Thread Pool in `core:thread` | gingerBill | 2022-03-31 | 1 | -23/+23 |
| | | | | | Thanks to the work of eisbehr | ||||
| * | Disable thread pool in demo | gingerBill | 2022-03-31 | 1 | -23/+23 |
| | | |||||
| * | `threading_example` allow on Darwin | gingerBill | 2022-03-30 | 1 | -5/+0 |
| | | |||||