Skip to content

Instantly share code, notes, and snippets.

View JasonLG1979's full-sized avatar
๐Ÿ˜œ
Never Really Busy

Jason Gray JasonLG1979

๐Ÿ˜œ
Never Really Busy
View GitHub Profile
@JasonLG1979
JasonLG1979 / GLib_async_queue_example.py
Last active August 28, 2016 23:51
Working GLib_async_queue example
#
# Copyright (C) 2016 Jason Gray <[email protected]>
#
#This program is free software: you can redistribute it and/or modify it
#under the terms of the GNU General Public License version 3, as published
#by the Free Software Foundation.
#
#This program is distributed in the hope that it will be useful, but
#WITHOUT ANY WARRANTY; without even the implied warranties of
#MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR
@JasonLG1979
JasonLG1979 / GLib_async_queue.py
Last active August 28, 2016 22:18
An asynchronous cancellable hybrid priority/fifo queued thread worker decorator(that's a mouthfull,lol!!!)
#
# Copyright (C) 2016 Jason Gray <[email protected]>
#
#This program is free software: you can redistribute it and/or modify it
#under the terms of the GNU General Public License version 3, as published
#by the Free Software Foundation.
#
#This program is distributed in the hope that it will be useful, but
#WITHOUT ANY WARRANTY; without even the implied warranties of
#MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR