mirror of
https://github.com/open-simh/simh.git
synced 2026-01-26 04:02:39 +00:00
ETHER: Emit advice when asynch operation is attempted without USE_READER_THREAD
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user