I don't use any threads but plain, bare-metal programming. Here lwIP is running in context of the Ethernet-PHY-interrupt(s) while some data are pushed to lwIP from the main-loop.
2014-09-16 9:04 GMT+02:00 Simon Goldschmidt <[email protected]>: > Karl Karpfen wrote: > > [..] > > My problem here: sentLength is manipulated out of interrupt context > while checking > > it for completion is done out of main loop. > > That's a problem indeed. Seems like you are violating lwIP's threading > requirements (search the list or the wiki, there are numerous post about > it). > > > Simon > > _______________________________________________ > lwip-users mailing list > [email protected] > https://lists.nongnu.org/mailman/listinfo/lwip-users >
_______________________________________________ lwip-users mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/lwip-users
