Skip to content
This repository has been archived by the owner on Apr 29, 2022. It is now read-only.

Fixed a race condition affecting scrot #117

Closed
wants to merge 1 commit into from
Closed

Fixed a race condition affecting scrot #117

wants to merge 1 commit into from

Conversation

jshnaidman
Copy link

Fixed a race condition affecting scrot

Race condition occurs in scrot where it is unable to
acquire a necessary resource from the keyboard.

This happens when you bind the command to a key.

Details about this race condition can be found here:

https://bbs.archlinux.org/viewtopic.php?id=86507
https://code.google.com/archive/p/xmonad/issues/476

Race condition occurs in scrot where it is unable to
acquire a necessary resource from the keyboard.

This happens when you bind the command to a key.

Details about this race condition can be found here:

https://bbs.archlinux.org/viewtopic.php?id=86507
https://code.google.com/archive/p/xmonad/issues/476
@jomo
Copy link
Owner

jomo commented Nov 13, 2017

Thought I addressed this issue here, does that not work?

is_mac || sleep 0.1 # https://bbs.archlinux.org/viewtopic.php?pid=1246173#p1246173

@jshnaidman
Copy link
Author

jshnaidman commented Nov 14, 2017

It occured for me occasionally. I'm not entirely clear on the root issue, but I was basically unable to use the command (at the time at which I investigated the issue) until I did this. Possibly was stuck in a bad state. I haven't experienced any problems since.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants