Skip to content

Instantly share code, notes, and snippets.

@jdtw
jdtw / file-upload
Last active August 29, 2015 13:56
Uploading files with drakma
Uploading files with drakma
===========================
## The project
I'm writing an interface to the [Deluge](http://deluge-torrent.org)
torrent client in Common Lisp. I'm using drakma for the http stuff,
and yason for JSON parsing.
## The problem

Keybase proof

I hereby claim:

  • I am jdtw on github.
  • I am jdtw (https://keybase.io/jdtw) on keybase.
  • I have a public key ASCwWXfnrAwZ2pEcvswdwuy_zdy_p1DOjlbfQFTK4c-YCwo

To claim this, I am signing this object:

#include <Windows.h>
class ReaderWriterLock
{
public:
ReaderWriterLock() : m_owner(0), m_reads(0), m_writes(0) {}
~ReaderWriterLock() {}
ReaderWriterLock(const ReaderWriterLock&) = delete;
ReaderWriterLock& operator=(const ReaderWriterLock&) = delete;