mirror of
https://github.com/simh/simh.git
synced 2026-01-14 07:39:29 +00:00
ETHER: Emit advice when asynch operation is attempted without USE_READER_THREAD
This commit is contained in:
parent
77edf89ef5
commit
b3214fcb59
@ -1958,7 +1958,8 @@ return NULL;
|
||||
t_stat eth_set_async (ETH_DEV *dev, int latency)
|
||||
{
|
||||
#if !defined(USE_READER_THREAD) || !defined(SIM_ASYNCH_IO)
|
||||
char *msg = "Eth: can't operate asynchronously, must poll\n";
|
||||
char *msg = "Eth: Can't operate asynchronously, must poll.\n"
|
||||
" *** Build with USE_READER_THREAD defined and link with pthreads for asynchronous operation. ***\n";
|
||||
return sim_messagef (SCPE_NOFNC, "%s", msg);
|
||||
#else
|
||||
int wakeup_needed;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user