Commit 4302caa3 authored by Greg Williams's avatar Greg Williams
Browse files

Added missing mutex lock/unlock around receiveCompleteMutex.

Bumped version info and added release note to call out this fix.
parent 9ffef19a
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line

v0.9.2 (kinetic-protocol 3.0.5)
-------------------------------
* Added missing mutex lock causing a concurrency issue.

v0.9.1 (kinetic-protocol 3.0.5)
-------------------------------
* Added `keys->used` to ByteBufferArray to reflect the number of buffers actually used, and updated `KineticClient_GetKeyRange()` to populate it.
+1 −1
Original line number Diff line number Diff line
@@ -38,7 +38,7 @@ PROJECT_NAME = kinetic-c
# could be handy for archiving the generated documentation or if some version
# control system is used.

PROJECT_NUMBER           = "v0.9.1"
PROJECT_NUMBER           = "v0.9.2"

# Using the PROJECT_BRIEF tag one can provide an optional one line description
# for a project that appears at the top of each page and should give viewer a
+1 −1
Original line number Diff line number Diff line
0.9.1
0.9.2
+2 −0
Original line number Diff line number Diff line
@@ -81,7 +81,9 @@ static void DefaultCallback(KineticCompletionData* kinetic_data, void* client_da
{
    DefaultCallbackData * data = client_data;
    data->status = kinetic_data->status;
    pthread_mutex_lock(&data->receiveCompleteMutex);
    pthread_cond_signal(&data->receiveComplete);
    pthread_mutex_unlock(&data->receiveCompleteMutex);
}

static KineticCompletionClosure DefaultClosure(DefaultCallbackData * const data)