ETHER: Emit advice when asynch operation is attempted without USE_READER_THREAD

This commit is contained in:
Mark Pizzolato 2020-03-10 19:53:25 -07:00
parent 77edf89ef5
commit b3214fcb59

View file

@ -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;