summaryrefslogtreecommitdiff
path: root/utility/rtos_compatibility_layers/posix/px_pth_kill.c
diff options
context:
space:
mode:
authorTiejun Zhou <[email protected]>2022-10-26 23:41:13 +0000
committerTiejun Zhou <[email protected]>2022-10-26 23:41:13 +0000
commit3e8e85cdc1e51f9de577457377a4f9a4f6b9b82f (patch)
tree861c0ab74e5dc5de7509b4b85f5e75dd74457117 /utility/rtos_compatibility_layers/posix/px_pth_kill.c
parentb871c33620f9b58a83e92a33f4ca00025e850c7f (diff)
Release 6.2.0v6.2.0_rel
Diffstat (limited to 'utility/rtos_compatibility_layers/posix/px_pth_kill.c')
-rw-r--r--utility/rtos_compatibility_layers/posix/px_pth_kill.c12
1 files changed, 7 insertions, 5 deletions
diff --git a/utility/rtos_compatibility_layers/posix/px_pth_kill.c b/utility/rtos_compatibility_layers/posix/px_pth_kill.c
index dacdbba0..f84bceb2 100644
--- a/utility/rtos_compatibility_layers/posix/px_pth_kill.c
+++ b/utility/rtos_compatibility_layers/posix/px_pth_kill.c
@@ -33,7 +33,7 @@
/* FUNCTION RELEASE */
/* */
/* pthread_kill PORTABLE C */
-/* 6.1.7 */
+/* 6.2.0 */
/* AUTHOR */
/* */
/* William E. Lamie, Microsoft Corporation */
@@ -73,11 +73,13 @@
/* */
/* DATE NAME DESCRIPTION */
/* */
-/* 06-02-2021 William E. Lamie Initial Version 6.1.7 */
+/* 06-02-2021 William E. Lamie Initial Version 6.1.7 */
+/* 10-31-2022 Scott Larson Remove double parenthesis, */
+/* update argument type, */
+/* resulting in version 6.2.0 */
/* */
/**************************************************************************/
-
-int pthread_kill(ULONG thread_id, int sig)
+int pthread_kill(ALIGN_TYPE thread_id, int sig)
{
TX_INTERRUPT_SAVE_AREA
@@ -197,7 +199,7 @@ UINT retval;
status = posix_memory_allocate(new_signal_thread -> stack_size, &new_signal_thread -> stack_address);
/* problem allocating stack space */
- if ((status == ERROR))
+ if (status == ERROR)
{
/* Mark the previously allocated control block as available. */