summaryrefslogtreecommitdiff
path: root/ot_mutex.c
AgeCommit message (Collapse)Author
2024-04-13Fix type warnings in debug stringsDirk Engling
2024-04-13First shot on chunked transfersDirk Engling
2024-04-07report full peer and seed count for both address familiesDirk Engling
2024-04-05constifyDirk Engling
2024-04-01Clean up pointer to task objectDirk Engling
2024-03-08Fix tasklist iteratorserdgeist-fix-tasklistsDirk Engling
2021-04-25Turn mmaps into mallocDirk Engling
2021-04-19De-bottleneck mutex access codeDirk Engling
2009-06-17Remove unnecessary =NULL initialization of static pointers.erdgeist
2009-03-04Add a stat option the count bucket stallserdgeist
Add an iterator for all torrents. It's slower but for stats it's okay. Move some stats collection stuff to the new iterator. More to come. Start a "report all stats" page. Start fixing the code to identify "busy" networks. Add the concept of hosts allowed to proxy. Add a parser for the X-Forwarded-For: HTTP header. Clean up HTTP Header handling code. (Remove some left overs of now vanished sync code).
2009-02-10unify lock and unlock code styleerdgeist
2009-01-16Use a self pipe to wake from io_wait when a thread finished his work.erdgeist
2009-01-15Add comments, rename our struct http_data h to cookie, all clientsockets to sock, all size_t from socket_recvs to byte_count. Make signal handler set ↵erdgeist
default handler for the second SIGINT
2009-01-13V6erdgeist
2009-01-03Make opentracker ANSI C again.erdgeist
2009-01-02* opentracker now drops permissions in correct order and really chroots() if ran as rooterdgeist
* lock passing between add_peer_to_torrent and return_peers_for_torrent is now avoided by providing a more general add_peer_to_torrent_and_return_peers function that can be used with NULL parameters to not return any peers (in sync case) * in order to keep a fast overview how many torrents opentracker maintains, every mutex_bucket_unlock operation expects an additional integer parameter that tells ot_mutex.c how many torrents have been added or removed. A function mutex_get_torrent_count has been introduced.
2008-12-08Make all torrents in their buckets sorted again.erdgeist
2008-12-06Make mutex_lock_bucket_by_hash generic to any OT_BUCKET_COUNTerdgeist
2008-11-28The BIG refactoring [tm]. Too many changes to count them. If it doesn't suite you, revert to last version.erdgeist
2008-10-28Whitespace fixeserdgeist
2008-10-28fixed typodenis
2007-12-20Introduce some kind of versioningerdgeist
2007-12-03Simplify includeserdgeist
2007-11-22Introducing compression task flagserdgeist
2007-11-20Tested for a too strict condition, we do need the correct tasktype AND an empty taskid, not the other way arounderdgeist
2007-11-19Cleanup now moved to its own thread, tooerdgeist
2007-11-18Reflect new task-classes model in mutex queueerdgeist
2007-11-15tasklist code now tested in a multi threaded environment.erdgeist
2007-11-14Introducing the workqueueerdgeist
2007-11-06No one can get access to buckets now without locking them. Also split up the trackerlogic.c-monster in functional sub-units. HEADS UP: this code is untested ↵erdgeist
and not considered stable.
2007-11-06Rename source files in an ot_ fashionerdgeist