eycorsican / netstack-lwip

57 stars 41 forks source link

Use global lwIP lock #5

Closed bdbai closed 1 year ago

bdbai commented 1 year ago

Since lwIP internal data structures are globally accessible, the lwIP lock should be a singleton as well to reflect that. Multiple instances of lwIP locks may still introduce race condition.