summaryrefslogtreecommitdiff
path: root/test/threads
Commit message (Collapse)AuthorAgeFilesLines
* THRIFT-4730: remove pthread code and refactor, ending up with just ThreadFactorycyy2019-01-112-4/+4
|
* Thrift-2029:Port C++ tests to WindowsJake Farrell2014-01-072-1/+14
| | | | | | | Client: cpp Patch: Ben Craig Updates cpp tests to work with windows and c++11
* THRIFT-1552 Include paths for c/c++ should be prefixed with 'thrift/'Roger Meier2012-04-132-15/+15
| | | | | | | | | | | | | | To ensure there are no include path collisions the C and C++ header include paths should include 'thrift' as the root leaf. This will prevent having to place /usr/include/thrift into the compilers include header search path, which might otherwise result in the compiler accidentally picking up headers that it shouldn't. e.g. #include <foo/bar.h> should be #include <thrift/foo/bar.h> Change-Id: I48f2b0f549bda0fc81e85506ac857adc800b98a1 git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1325674 13f79535-47bb-0310-9956-ffa450edef68
* THRIFT-1361 Optional replacement of pthread by boost::threadRoger Meier2011-10-022-8/+8
| | | | | | Patch: alexandre parenteau git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1178176 13f79535-47bb-0310-9956-ffa450edef68
* THRIFT-1166 C++ tests in test/cpp brokenRoger Meier2011-05-311-2/+2
| | | | | | | Patch: David Nadlinger, Roger Meier git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1129908 13f79535-47bb-0310-9956-ffa450edef68
* THRIFT-387. Add license headers to a bunch of filesDavid Reiss2009-03-304-3/+74
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@760189 13f79535-47bb-0310-9956-ffa450edef68
* Make .thrift files non-executable since we removed the shebangsDavid Reiss2009-03-141-0/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@753610 13f79535-47bb-0310-9956-ffa450edef68
* THRIFT-325. Remove a bunch of uses of the old command line formatDavid Reiss2009-02-171-2/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@745242 13f79535-47bb-0310-9956-ffa450edef68
* THRIFT-270: change cpp namespaces from facebook::thrift to apache::thriftT Jake Luciani2009-01-312-10/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@739644 13f79535-47bb-0310-9956-ffa450edef68
* THRIFT-217. Use "--gen py" instead of "-py" in build scriptsDavid Reiss2008-12-021-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@722333 13f79535-47bb-0310-9956-ffa450edef68
* Make "make clean" rules a bit more standard.David Reiss2008-02-241-1/+1
| | | | | | | | | | | | | | Summary: make-generic is some sort of internal undocumented thing. make-local is what is supposed to be used for this stuff. Also use $(RM) instead of "rm -f". Reviewed By: marc Test Plan: make clean git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665498 13f79535-47bb-0310-9956-ffa450edef68
* Thrift: Whitespace cleanup.David Reiss2008-02-062-3/+3
| | | | | | | | | | | | | | | | | Summary: - Expanded tabs to spaces where spaces were the norm. - Deleted almost all trailing whitespace. - Added newlines to the ends of a few files. - Ran dos2unix on one file or two. Reviewed By: mcslee Test Plan: git diff -b Revert Plan: ok git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665467 13f79535-47bb-0310-9956-ffa450edef68
* Modified facebook::thrift::concurrency::Monitor.wait:Marc Slemko2007-05-221-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Throw TimedOutException on wait timeout so caller can distinguish between timeout and event. Modified facebook::thrift::concurrency::PthreadThread.start: Throw SystemrResourceException on any pthread_* function call failure rather than asserting 0. Added facebook::thrift::concurrency::Thread.id() and facebook::thrift::concurrency::ThreadFactory.currentThreadId(): Return thread-id of thread and current thread respectively. Needed for reentrancy tests in ThreadManager Added facebook::thrift::concurrency::ThreadManager.pendingTaskCountMaxN Modified facebook::thrift::concurrency::ThreadManager.add(): Now support a maximum pending task count and block if the current pending task count is max. If timeout is specified for add, TimedOutException is thrown if pending task count doesn't decrease in the timeout interval. If add() is called by a ThreadManager worker thread and the task cannot be added, a TooManyPendingTasksException is thrown rather than blocking, since deadlocks can ensue if worker threads block waiting for works threads to complete tasks. Reviewed By: mcslee, aditya Revert Plan: revertible Test Plan: concurrency/test/ThreadManagerTests.h run concurrency-test thread-manager git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665120 13f79535-47bb-0310-9956-ffa450edef68
* Adding perl testclient codeMark Slee2007-05-161-1/+1
| | | | | | | | | Summary: Submitted by Jake Luciani Reviewed By: mcslee git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665115 13f79535-47bb-0310-9956-ffa450edef68
* Some thrift test code improvementsMark Slee2007-03-072-4/+15
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665050 13f79535-47bb-0310-9956-ffa450edef68
* Threads test makefile cleanupMark Slee2007-03-051-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665043 13f79535-47bb-0310-9956-ffa450edef68
* Threads testing package updateMark Slee2007-03-054-11/+62
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665042 13f79535-47bb-0310-9956-ffa450edef68
* Threading libraries test for Thrift C++Mark Slee2007-03-053-0/+161
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665041 13f79535-47bb-0310-9956-ffa450edef68