File tree 2 files changed +6
-6
lines changed
2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -108,7 +108,7 @@ public static synchronized void forceLoad() throws IOException {
108
108
* @param initialState true to make the event initially in signaled state
109
109
* @return Event handle
110
110
*/
111
- public static native int createEvent (boolean manualReset , boolean initialState );
111
+ public static native int makeEvent (boolean manualReset , boolean initialState );
112
112
113
113
/**
114
114
* Destroys an event. Destruction wakes up any waiters.
@@ -141,7 +141,7 @@ public static synchronized void forceLoad() throws IOException {
141
141
* @param maximumCount maximum value for the semaphore's internal counter
142
142
* @return Semaphore handle
143
143
*/
144
- public static native int createSemaphore (int initialCount , int maximumCount );
144
+ public static native int makeSemaphore (int initialCount , int maximumCount );
145
145
146
146
/**
147
147
* Destroys a semaphore. Destruction wakes up any waiters.
Original file line number Diff line number Diff line change @@ -162,11 +162,11 @@ Java_edu_wpi_first_util_WPIUtilJNI_getSystemTime
162
162
163
163
/*
164
164
* Class: edu_wpi_first_util_WPIUtilJNI
165
- * Method: createEvent
165
+ * Method: makeEvent
166
166
* Signature: (ZZ)I
167
167
*/
168
168
JNIEXPORT jint JNICALL
169
- Java_edu_wpi_first_util_WPIUtilJNI_createEvent
169
+ Java_edu_wpi_first_util_WPIUtilJNI_makeEvent
170
170
(JNIEnv*, jclass, jboolean manualReset, jboolean initialState)
171
171
{
172
172
return wpi::MakeEvent (manualReset, initialState);
@@ -210,11 +210,11 @@ Java_edu_wpi_first_util_WPIUtilJNI_resetEvent
210
210
211
211
/*
212
212
* Class: edu_wpi_first_util_WPIUtilJNI
213
- * Method: createSemaphore
213
+ * Method: makeSemaphore
214
214
* Signature: (II)I
215
215
*/
216
216
JNIEXPORT jint JNICALL
217
- Java_edu_wpi_first_util_WPIUtilJNI_createSemaphore
217
+ Java_edu_wpi_first_util_WPIUtilJNI_makeSemaphore
218
218
(JNIEnv*, jclass, jint initialCount, jint maximumCount)
219
219
{
220
220
return wpi::MakeSemaphore (initialCount, maximumCount);
You can’t perform that action at this time.
0 commit comments