mirror of
https://github.com/janet-lang/janet
synced 2024-11-25 01:37:19 +00:00
Format and update CHANGELOG.md
This commit is contained in:
parent
b0d0d9cad2
commit
8b10a5fb7c
@ -2,6 +2,7 @@
|
|||||||
All notable changes to this project will be documented in this file.
|
All notable changes to this project will be documented in this file.
|
||||||
|
|
||||||
## Unlreleased - ???
|
## Unlreleased - ???
|
||||||
|
- Remove include of windows.h from janet.h. This caused issues on certain projects.
|
||||||
- Fix formatting in doc-format to better handle special characters in signatures.
|
- Fix formatting in doc-format to better handle special characters in signatures.
|
||||||
- Fix some marshalling bugs.
|
- Fix some marshalling bugs.
|
||||||
- Add optional Makefile target to install jpm as well.
|
- Add optional Makefile target to install jpm as well.
|
||||||
|
@ -1689,11 +1689,11 @@ void janet_loop1_impl(int has_timeout, JanetTimestamp timeout) {
|
|||||||
struct kevent timer;
|
struct kevent timer;
|
||||||
if (janet_vm.timer_enabled || has_timeout) {
|
if (janet_vm.timer_enabled || has_timeout) {
|
||||||
EV_SETx(&timer,
|
EV_SETx(&timer,
|
||||||
JANET_KQUEUE_TIMER_IDENT,
|
JANET_KQUEUE_TIMER_IDENT,
|
||||||
EVFILT_TIMER,
|
EVFILT_TIMER,
|
||||||
JANET_KQUEUE_TF,
|
JANET_KQUEUE_TF,
|
||||||
NOTE_MSECONDS | NOTE_ABSTIME,
|
NOTE_MSECONDS | NOTE_ABSTIME,
|
||||||
JANET_KQUEUE_TS(timeout), &janet_vm.timer);
|
JANET_KQUEUE_TS(timeout), &janet_vm.timer);
|
||||||
add_kqueue_events(&timer, 1);
|
add_kqueue_events(&timer, 1);
|
||||||
}
|
}
|
||||||
janet_vm.timer_enabled = has_timeout;
|
janet_vm.timer_enabled = has_timeout;
|
||||||
@ -1709,7 +1709,7 @@ void janet_loop1_impl(int has_timeout, JanetTimestamp timeout) {
|
|||||||
|
|
||||||
/* Step state machines */
|
/* Step state machines */
|
||||||
for (int i = 0; i < status; i++) {
|
for (int i = 0; i < status; i++) {
|
||||||
void *p = (void*) events[i].udata;
|
void *p = (void *) events[i].udata;
|
||||||
if (&janet_vm.timer == p) {
|
if (&janet_vm.timer == p) {
|
||||||
/* Timer expired, ignore */;
|
/* Timer expired, ignore */;
|
||||||
} else if (janet_vm.selfpipe == p) {
|
} else if (janet_vm.selfpipe == p) {
|
||||||
|
Loading…
Reference in New Issue
Block a user