Skip to content
#

threads

Here are 684 public repositories matching this topic...

tinco
tinco commented Oct 15, 2019

Hi, I'm not sure if more platforms are interesting to you, but I've made a slightly more complete implementation of padding a struct to the cache line size here:

https://github.com/tinco/cache_line_size

I got the information on the cache line sizes from the Go compiler repository, so I'm pretty sure these are correct for all platforms Go runs on, which is a whole bunch.

panw
panw commented Aug 22, 2019

Currently the documentation provides an example on for GET request. Can an example for POST request that demonstrates sending a payload and setting headers be add to the documentation?

Would it be something like this

from requests_threads import AsyncSession

session = AsyncSession(n=100)
async def _main():
  url = u"https://api.github.com/repos/psf/requests/issues/482/comments"
 

Improve this page

Add a description, image, and links to the threads topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the threads topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.