Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

4.6.2 and std::thread

12 views
Skip to first unread message

jimm

unread,
Dec 21, 2011, 6:44:34 AM12/21/11
to
is std::thread and all of its related stuff supported in 4.6.2? this
would be SOOO useful!

I was thinking of a multithreaded MIDI application...
one thread for sending the MIDI codes to the usb-to-MIDI adapter, and
one thread for the authoring app.
I have never done USB before. maybe I am in over my head. haven't
done packets in years, and this would be through the BIOS. not even
sure if this would be feasible.

Andris Pavenis

unread,
Dec 21, 2011, 12:55:10 PM12/21/11
to dj...@delorie.com, jimm
I do not think, that it will work for DJGPP. Related files were simply
not removed

Rugxulo

unread,
Dec 21, 2011, 5:08:18 PM12/21/11
to
Hi,
I don't think DJGPP has much help "upstream", maybe only a very little
sympathy (or passive aggressive "POSIX only!" attitudes). Besides, G++
is ultra complicated, esp. trying to support a very new standard. In
other words, don't get your hopes up. It's already hard enough keeping
things working as they used to, so adding more stuff is even more
difficult!! :-(

FYI, traditionally "MS" DOS and clones (e.g. FreeDOS) don't support
threading natively (though some other esoteric DOSes do, but they are
either proprietary, expensive, or less well-supported in tools, but
feel free to search: TSX, RDOS, Real/32, DR-DOS 7.03, etc).

But there are workarounds (usually cooperative threads or similar),
e.g. FSU Pthreads (used by DJGPP compile of p7zip 9.13). That, or
something ultra simple like clwp, or maybe even SwsMtc, is probably
your best bet. (GNU pth is buggy, but maybe it'll work for you with
old libsocket or, more likely, with Watt-32.)

http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/util/file/7zip/9.13/p7z913.zip
http://www.keesmoerman.nl/misc/clwp.html
http://www.softsystem.co.uk/products/swsmtc.htm
http://na.mirror.garr.it/mirrors/djgpp/current/v2gnu/pth207s.zip
0 new messages