please dont rip this site

A simple but efficient mutex implementation for FreeRTOS

by Isaac Marino Bavaresco

This is file "mutex.h".

//==============================================================================
// Copyright (c) 2007-2009, Isaac Marino Bavaresco
// All rights reserved
// isaacbavaresco@yahoo.com.br
//==============================================================================
#ifndef		__MUTEX_H__
#define		__MUTEX_H__
//==============================================================================
#include "FreeRTOS.h"
//==============================================================================
typedef void			*xMutexHandle;

xMutexHandle			xMutexCreate( void );
signed portBASE_TYPE	xMutexTake( xMutexHandle pxMutex, portTickType xTicksToWait );
signed portBASE_TYPE	xMutexGive( xMutexHandle pxMutex, portBASE_TYPE Release );
signed portBASE_TYPE	xDoIOwnTheMutex( xMutexHandle pxMutex );
//==============================================================================
#endif	//	__MUTEX_H__
//==============================================================================

See also:


file: /Techref/member/IMB-yahoo-J86/mutex.h.htm, 1KB, , updated: 2009/7/9 09:03, local time: 2012/2/10 11:19, owner: IMB-yahoo-J86,
TOP NEW HELP FIND: 
38.107.179.231:LOG IN

 ©2012 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?
Please DO link to this page! Digg it! / MAKE! / 

<A HREF="http://www.piclist.com/techref/member/IMB-yahoo-J86/mutex.h.htm"> A simple mutex implementation for FreeRTOS - mutex.h</A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.


Link? Put it here: 
if you want a response, please enter your email address: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed?

 
DON'T THROW IT AWAY! We part out dead printers, faxes, and other small mechanical items for hobby use and to support our web sites. And we pay shipping in California or pick up in San Diego North County. Call 1-619-652-0593 or email jamesnewton@massmind.org
 
miSim DE is an excellent, portable and powerful IDE for developing PIC applications.
The only consistant, simple to use yet powerful development environment. It simulates real-world devices via virtual component "plugins" (LED,LCD,key,motor,TV,etc) in real time, has a syntax highlighting editor, macro assembler and disassembler. Regular updates and third-party plugins keep this software ahead of any other PIC IDE.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  .