Skip to content

Commit

Permalink
Renombro los numeros de los ejercicios
Browse files Browse the repository at this point in the history
  • Loading branch information
gastonprieto committed Apr 19, 2012
1 parent bc23c4c commit fd3ec18
Show file tree
Hide file tree
Showing 117 changed files with 38 additions and 40 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Expand Up @@ -14,7 +14,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

#include "Ejercicio6.h"
#include "Ejercicio10.h"
#define MAX_BUFFER_SIZE 200

int puerto_cliente;
Expand Down
Expand Up @@ -14,8 +14,8 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

#ifndef EJERCICIO5_H_
#define EJERCICIO5_H_
#ifndef EJERCICIO10_H_
#define EJERCICIO10_H_

#include <stdio.h>
#include <stdlib.h>
Expand All @@ -34,4 +34,4 @@ void comunicarse();
void queue_sync_push(t_queue *, void *element);
void *queue_sync_pop(t_queue *);

#endif /* EJERCICIO5_H_ */
#endif /* EJERCICIO10_H_ */
File renamed without changes.
File renamed without changes.
File renamed without changes.
Expand Up @@ -4,7 +4,7 @@
* Created on: 11/03/2012
* Author: sebastian
*/
#include "Ejercicio6.h"
#include "Ejercicio10.h"
#define MAX_BUFFER_SIZE 200

int port;
Expand Down
Expand Up @@ -5,8 +5,8 @@
* Author: sebastian
*/

#ifndef EJERCICIO5_H_
#define EJERCICIO5_H_
#ifndef EJERCICIO10_H_
#define EJERCICIO10_H_

#include <stdio.h>
#include <stdlib.h>
Expand All @@ -25,4 +25,4 @@ void iniciar_conexion();
void queue_sync_push(t_queue *, void *element);
void *queue_sync_pop(t_queue *);

#endif /* EJERCICIO5_H_ */
#endif /* EJERCICIO10_H_ */
Expand Up @@ -14,7 +14,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

#include "Ejercicio7.h"
#include "Ejercicio3.h"

int main(void)
{
Expand Down
Expand Up @@ -14,11 +14,11 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

#ifndef EJERCICIO7_H_
#define EJERCICIO7_H_
#ifndef EJERCICIO3_H_
#define EJERCICIO3_H_

#include <stdlib.h>
#include <stdio.h>
#include <string.h>

#endif /* EJERCICIO7_H_ */
#endif /* EJERCICIO3_H_ */
Expand Up @@ -14,7 +14,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

#include "Ejercicio7.h"
#include "Ejercicio3.h"
#include <math.h> //Solucion al Error 12

int main(void)
Expand Down
Expand Up @@ -14,11 +14,11 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

#ifndef EJERCICIO7_H_
#define EJERCICIO7_H_
#ifndef EJERCICIO3_H_
#define EJERCICIO3_H_

#include <stdlib.h>
#include <stdio.h>
#include <string.h>

#endif /* EJERCICIO7_H_ */
#endif /* EJERCICIO3_H_ */
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Expand Up @@ -14,7 +14,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

#include "Ejercicio2.h"
#include "Ejercicio6.h"

int main() {
pthread_t h1, h2, h3, h4;
Expand Down
Expand Up @@ -14,8 +14,8 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

#ifndef EJERCICIO2_H_
#define EJERCICIO2_H_
#ifndef EJERCICIO6_H_
#define EJERCICIO6_H_

#include <stdio.h>
#include <stdlib.h>
Expand All @@ -34,4 +34,4 @@ typedef struct {
char* data; //Datos a imprimir
} t_print_job;

#endif /* EJERCICIO2_H_ */
#endif /* EJERCICIO6_H_ */
File renamed without changes.
File renamed without changes.
File renamed without changes.
Expand Up @@ -14,7 +14,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

#include "Ejercicio2.h"
#include "Ejercicio6.h"

#define JOBQUEUESIZE 10
pthread_mutex_t mutexImpresion; //Para asegurar la mutua exclusion en la cola de trabajo
Expand Down
Expand Up @@ -14,8 +14,8 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

#ifndef EJERCICIO2_H_
#define EJERCICIO2_H_
#ifndef EJERCICIO6_H_
#define EJERCICIO6_H_

#define _XOPEN_SOURCE 500

Expand All @@ -41,4 +41,4 @@ char* crear_data();
void* queue_sync_pop(t_queue* self);
void queue_sync_push(t_queue* self, void* element);

#endif /* EJERCICIO2_H_ */
#endif /* EJERCICIO6_H_ */
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Expand Up @@ -14,7 +14,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

#include "Ejercicio5.h"
#include "Ejercicio9.h"

#define MAX_BUFFER_SIZE 200
#define PORT 3200
Expand Down
Expand Up @@ -14,8 +14,8 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

#ifndef EJERCICIO5_H_
#define EJERCICIO5_H_
#ifndef EJERCICIO9_H_
#define EJERCICIO9_H_

#include <stdio.h>
#include <stdlib.h>
Expand All @@ -34,4 +34,4 @@ void comunicarse();
void queue_sync_push(t_queue *, void *element);
void *queue_sync_pop(t_queue *);

#endif /* EJERCICIO5_H_ */
#endif /* EJERCICIO9_H_ */
Expand Up @@ -14,7 +14,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

#include "Ejercicio5.h"
#include "Ejercicio9.h"

#define MAX_BUFFER_SIZE 200
#define PORT 3200
Expand Down
Expand Up @@ -14,8 +14,8 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

#ifndef EJERCICIO5_H_
#define EJERCICIO5_H_
#ifndef EJERCICIO9_H_
#define EJERCICIO9_H_

#include <stdio.h>
#include <stdlib.h>
Expand All @@ -34,4 +34,4 @@ void comunicarse();
void queue_sync_push(t_queue *, void *element);
void *queue_sync_pop(t_queue *);

#endif /* EJERCICIO5_H_ */
#endif /* EJERCICIO9_H_ */
14 changes: 6 additions & 8 deletions README.md
@@ -1,5 +1,3 @@
# UNDER CONSTRUCTION #

## Ejercitación Práctica ##

Este es el repositorio donde se alojará el código fuente necesario para llevar a cabo todos los ejercicios propuestos por la cátedra para poder afianzar los conocimientos aprendidos en las charlas técnicas.
Expand All @@ -12,9 +10,9 @@ La ejercitación se encontrará disponible en:

Los temas tratados son los siguientes:

* **Concurrencia**: Ejercicio 1, Ejercicio 2, Ejercicio 3
* **Serialización**: Ejercicio 4
* **Networking**: Ejercicio 5, Ejercicio 6
* **Errores comunes**: Ejercicio 7
* **Memory Leaks**: Ejercicio 8
* **Buenas Prácticas**: Ejercicio 9
* **ANSI C, TAD**: Ejercicio 1, Ejercicio 2
* **Errores comunes**: Ejercicio 3
* **Memory Leaks**: Ejercicio 4
* **Concurrencia**: Ejercicio 5, Ejercicio 6, Ejercicio 7
* **Serialización**: Ejercicio 8
* **Networking**: Ejercicio 9, Ejercicio 10

0 comments on commit fd3ec18

Please sign in to comment.